Skip to content

Commit 546638c

Browse files
authored
Merge pull request #1552 from mfts/feat/banner
fix: add redirect only to app domain
2 parents c0b4acc + b2a60bb commit 546638c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

next.config.mjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ const nextConfig = {
1919
source: "/",
2020
destination: "/documents",
2121
permanent: false,
22+
has: [
23+
{
24+
type: "host",
25+
value: process.env.NEXT_PUBLIC_APP_BASE_HOST,
26+
},
27+
],
2228
},
2329
{
2430
source: "/view/cm2xiaxzo000d147xszm9q72o",

0 commit comments

Comments
 (0)