feat: 添加 contest.quant-speed.com 域名支持
All checks were successful
Deploy to Server / deploy (push) Successful in 8m3s
All checks were successful
Deploy to Server / deploy (push) Successful in 8m3s
This commit is contained in:
@@ -72,6 +72,8 @@ CORS_ALLOW_ALL_ORIGINS = True
|
|||||||
CSRF_TRUSTED_ORIGINS = [
|
CSRF_TRUSTED_ORIGINS = [
|
||||||
"https://market.quant-speed.com",
|
"https://market.quant-speed.com",
|
||||||
"http://market.quant-speed.com",
|
"http://market.quant-speed.com",
|
||||||
|
"https://contest.quant-speed.com",
|
||||||
|
"http://contest.quant-speed.com",
|
||||||
"http://localhost:8000",
|
"http://localhost:8000",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ export default defineConfig({
|
|||||||
preview: {
|
preview: {
|
||||||
host: '0.0.0.0',
|
host: '0.0.0.0',
|
||||||
port: 8890,
|
port: 8890,
|
||||||
|
allowedHosts: ['contest.quant-speed.com'],
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api': {
|
||||||
target: 'http://cywl-scoring-backend:8876',
|
target: 'http://cywl-scoring-backend:8876',
|
||||||
|
|||||||
Reference in New Issue
Block a user