Skip to content

Instantly share code, notes, and snippets.

@JayH5
Last active November 23, 2017 10:28
Show Gist options
  • Save JayH5/f1aa2ca69f7177c734b498110a5580db to your computer and use it in GitHub Desktop.
Save JayH5/f1aa2ca69f7177c734b498110a5580db to your computer and use it in GitHub Desktop.
Django ALLOWED_HOSTS diff
self.static_volume.inner(): "/app/static:ro",
},
- "environment": {"DATABASE_URL": self.db_url}
+ "environment": {
+ "DATABASE_URL": self.db_url,
+ "ALLOWED_HOSTS": "0.0.0.0",
+ },
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment