Add NEXTAUTH_URL to app.json to address heroku deploy failure (#3091)

This commit is contained in:
Choongkyu Kim 2022-06-18 10:47:38 -07:00 committed by GitHub
parent 9e598c8855
commit 7599f2384e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,11 @@
"description": "Application Key for symmetric encryption and decryption. Must be 32 bytes for AES256 encryption algorithm.",
"value": "secret"
},
"NEXTAUTH_SECRET": "secret"
"NEXTAUTH_SECRET": "secret",
"NEXTAUTH_URL": {
"description": "Replace HEROKU_APP_NAME with the name given to your app",
"value": "https://HEROKU_APP_NAME.herokuapp.com"
}
},
"scripts": {
"postdeploy": "cd packages/prisma && npx prisma migrate deploy"