Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add .herokuapp.com to the allowed hosts

Adam Bogdałe5d7807cca8b
diff --git a/app.json b/app.json
index 1796fd3120..31ea29fa34 100644
--- a/app.json
+++ b/app.json
@@ -12,8 +12,11 @@
"image": "heroku/python",
"env": {
"DJANGO_SETTINGS_MODULE": "saleor.settings",
- "ALLOWED_HOSTS": "*",
"DEBUG": "False",
+ "ALLOWED_HOSTS": {
+ "description": "Comma-separated list of hosts",
+ "value": ".herokuapp.com"
+ },
"SECRET_KEY": {
"description": "A secret key for verifying the integrity of signed cookies.",
"generator": "secret"