From a999adbeb8d8f52bd4d4a0f95afd66ecc3e958cb Mon Sep 17 00:00:00 2001 From: Valter Balegas Date: Mon, 18 Nov 2024 15:07:51 +0000 Subject: [PATCH] different domain --- examples/nextjs-ssr-example/sst.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/nextjs-ssr-example/sst.config.ts b/examples/nextjs-ssr-example/sst.config.ts index e0f89c9685..5e9a260dbc 100644 --- a/examples/nextjs-ssr-example/sst.config.ts +++ b/examples/nextjs-ssr-example/sst.config.ts @@ -68,7 +68,7 @@ function deployNextJsExample( electricInfo: $util.Output<{ id: string; token: string }>, uri: $util.Output ) { - return new sst.aws.Nextjs(`nextjs`, { + return new sst.aws.Nextjs(`nextjs-ssr`, { environment: { ELECTRIC_URL: process.env.ELECTRIC_API!, ELECTRIC_TOKEN: electricInfo.token, @@ -76,7 +76,7 @@ function deployNextJsExample( DATABASE_URL: uri, }, domain: { - name: `nextjs${$app.stage === `production` ? `` : `-stage-${$app.stage}`}.electric-sql.com`, + name: `nextjs-ssr${$app.stage === `production` ? `` : `-stage-${$app.stage}`}.electric-sql.com`, dns: sst.cloudflare.dns(), }, })