mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
[git-bridge] add CORS support (#23892)
GitOrigin-RevId: 9e3d85e479746affd047434ec9ce2588b60ca76c
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
"bindIp": "${GIT_BRIDGE_BIND_IP:-0.0.0.0}",
|
||||
"idleTimeout": ${GIT_BRIDGE_IDLE_TIMEOUT:-30000},
|
||||
"rootGitDirectory": "${GIT_BRIDGE_ROOT_DIR:-/tmp/wlgb}",
|
||||
"allowedCorsOrigins": "${GIT_BRIDGE_ALLOWED_CORS_ORIGINS:-https://localhost}",
|
||||
"apiBaseUrl": "${GIT_BRIDGE_API_BASE_URL:-https://localhost/api/v0}",
|
||||
"postbackBaseUrl": "${GIT_BRIDGE_POSTBACK_BASE_URL:-https://localhost}",
|
||||
"serviceName": "${GIT_BRIDGE_SERVICE_NAME:-Overleaf}",
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"bindIp": "127.0.0.1",
|
||||
"idleTimeout": 30000,
|
||||
"rootGitDirectory": "/tmp/wlgb",
|
||||
"allowedCorsOrigins": "https://localhost",
|
||||
"apiBaseUrl": "https://localhost/api/v0",
|
||||
"postbackBaseUrl": "https://localhost",
|
||||
"serviceName": "Overleaf",
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"bindIp": "0.0.0.0",
|
||||
"idleTimeout": 30000,
|
||||
"rootGitDirectory": "/tmp/wlgb",
|
||||
"allowedCorsOrigins": "http://v2.overleaf.test",
|
||||
"apiBaseUrl": "http://v2.overleaf.test:3000/api/v0",
|
||||
"postbackBaseUrl": "http://git-bridge:8000",
|
||||
"serviceName": "Overleaf",
|
||||
|
||||
Reference in New Issue
Block a user