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

This commit is contained in:
2025-05-31 16:47:29 +03:30
parent 1f6854a6dc
commit a47ca393a3

View File

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