permissions per page and add dam.rasadyar.com in allowed hosts

This commit is contained in:
2025-05-31 16:40:23 +03:30
parent 821a33d0f6
commit 1f6854a6dc
6 changed files with 133 additions and 3 deletions

View File

@@ -34,6 +34,7 @@ ALLOWED_HOSTS = [
'https://localhost:9200',
'https://api.rasadyaar.net',
'https://api.dam.rasadyaar.net',
'https://dam.rasadyar.net/'
'http://localhost:3000',
'http://192.168.88.130:3000',
'https://rasaddam-front.liara.run'
@@ -291,7 +292,8 @@ CORS_ALLOWED_ORIGINS = (
'http://localhost:3000',
'http://192.168.88.130:3000',
'https://rasadyar.net',
'https://rasaddam-front.liara.run'
'https://rasaddam-front.liara.run',
'https://dam.rasadyar.net/'
)
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')