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

This commit is contained in:
Choongkyu Kim
2022-06-18 18:47:38 +01:00
committed by GitHub
parent 9e598c8855
commit 7599f2384e
+5 -1
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"