Skip to content

Commit 3f4cbf3

Browse files
committed
fixed issue
1 parent 2ba463a commit 3f4cbf3

File tree

4 files changed

+139
-9
lines changed

4 files changed

+139
-9
lines changed

app/[domain]/[slug]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export async function generateStaticParams() {
6868
const allPaths = allPosts
6969
.flatMap(({ site, slug }) => [
7070
site?.subdomain && {
71-
domain: site.subdomain,
71+
domain: `${site.subdomain}.${process.env.NEXT_PUBLIC_ROOT_DOMAIN}`,
7272
slug,
7373
},
7474
site?.customDomain && {

app/[domain]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export async function generateStaticParams() {
2222
const allPaths = allSites
2323
.flatMap(({ subdomain, customDomain }) => [
2424
subdomain && {
25-
domain: subdomain,
25+
domain: `${subdomain}.${process.env.NEXT_PUBLIC_ROOT_DOMAIN}`,
2626
},
2727
customDomain && {
2828
domain: customDomain,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"js-cookie": "^3.0.5",
2727
"lucide-react": "^0.244.0",
2828
"nanoid": "^4.0.2",
29-
"next": "13.4.20-canary.15",
29+
"next": "13.5.5-canary.0",
3030
"next-auth": "4.23.1",
3131
"next-mdx-remote": "^4.4.1",
3232
"novel": "^0.1.22",

pnpm-lock.yaml

Lines changed: 136 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)