Skip to content

Commit b2b9da8

Browse files
committed
update
1 parent db337f8 commit b2b9da8

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

amplify.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ frontend:
77
- npx --yes nypm i
88
build:
99
commands:
10-
- [ ! -f .env ] || export $(grep -v '^#' .env | xargs)
11-
10+
- set AUTH_ORIGIN=https://main.deg33yac8sm17.amplifyapp.com
1211
- npm run build
1312
artifacts:
1413
baseDirectory: '.output/public'

nuxt.config.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,4 @@ export default defineNuxtConfig({
1313
},
1414
preset: "aws-amplify",
1515
},
16-
runtimeConfig: {
17-
public: {
18-
auth: {
19-
baseURL: process.env.AUTH_ORIGIN,
20-
AUTH_ORIGIN: process.env.AUTH_ORIGIN,
21-
// @ts-ignore
22-
computed: {
23-
origin: process.env.NEXTAUTH_URL || process.env.AUTH_ORIGIN,
24-
},
25-
},
26-
},
27-
},
2816
});

0 commit comments

Comments
 (0)