gunicorn
This commit is contained in:
@@ -59,6 +59,11 @@ MIDDLEWARE = [
|
|||||||
|
|
||||||
CORS_ALLOW_ALL_ORIGINS = True
|
CORS_ALLOW_ALL_ORIGINS = True
|
||||||
|
|
||||||
|
CSRF_TRUSTED_ORIGINS = [
|
||||||
|
"https://market.quant-speed.com",
|
||||||
|
"http://market.quant-speed.com",
|
||||||
|
]
|
||||||
|
|
||||||
ROOT_URLCONF = 'config.urls'
|
ROOT_URLCONF = 'config.urls'
|
||||||
|
|
||||||
TEMPLATES = [
|
TEMPLATES = [
|
||||||
|
|||||||
@@ -12,5 +12,6 @@ export default defineConfig({
|
|||||||
preview: {
|
preview: {
|
||||||
host: '0.0.0.0',
|
host: '0.0.0.0',
|
||||||
port: 15173,
|
port: 15173,
|
||||||
|
allowedHosts: ['market.quant-speed.com']
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user