Skip to content

Scheduling infrastructure for absolutely everyone.

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

Choongkyu Kim7599f2384e7c
diff --git a/app.json b/app.json
index 75190ec8146..3f91f1b1a3d 100644
--- a/app.json
+++ b/app.json
@@ -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"