Skip to content

Commit

Permalink
Fix #3 try to add allowed hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
stariluz committed Jun 24, 2024
1 parent e5577f2 commit 64d71d4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
media/*

# Secret vars
./environment/.env.production
environment/

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
Empty file removed environment/.env.development
Empty file.
6 changes: 0 additions & 6 deletions environment/.env.production

This file was deleted.

6 changes: 4 additions & 2 deletions myFacegram/settings_production.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@
# TODO Add host from back4app
ALLOWED_HOSTS = [
'127.0.0.1',
'localhost'
'localhost',
'myfacegram-bohfye0n.b4a.run',
'node85a.containers.back4app.com'
'https://myfacegram-bohfye0n.b4a.run/',
'node85a.containers.back4app.com',
'https://node85a.containers.back4app.com',
]

# Application definition
Expand Down

0 comments on commit 64d71d4

Please sign in to comment.