We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db337f8 commit b2b9da8Copy full SHA for b2b9da8
amplify.yml
@@ -7,8 +7,7 @@ frontend:
7
- npx --yes nypm i
8
build:
9
commands:
10
- - [ ! -f .env ] || export $(grep -v '^#' .env | xargs)
11
-
+ - set AUTH_ORIGIN=https://main.deg33yac8sm17.amplifyapp.com
12
- npm run build
13
artifacts:
14
baseDirectory: '.output/public'
nuxt.config.ts
@@ -13,16 +13,4 @@ export default defineNuxtConfig({
},
preset: "aws-amplify",
15
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
28
});
0 commit comments