mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-18 04:53:32 -05:00
5b6e229c21
[CE/SP] Hotfix 5.0.2 / 4.2.4 GitOrigin-RevId: 2f9ce416b95a0124edb1a9cf35c2dfa94f6f4a19
31 lines
910 B
Diff
31 lines
910 B
Diff
--- settings.js
|
|
+++ settings.js
|
|
@@ -256,16 +256,16 @@ const settings = {
|
|
|
|
apis: {
|
|
web: {
|
|
- url: 'http://localhost:3000',
|
|
+ url: 'http://127.0.0.1:3000',
|
|
user: httpAuthUser,
|
|
pass: httpAuthPass,
|
|
},
|
|
project_history: {
|
|
sendProjectStructureOps: true,
|
|
- url: 'http://localhost:3054',
|
|
+ url: 'http://127.0.0.1:3054',
|
|
},
|
|
v1_history: {
|
|
- url: process.env.V1_HISTORY_URL || 'http://localhost:3100/api',
|
|
+ url: process.env.V1_HISTORY_URL || 'http://127.0.0.1:3100/api',
|
|
user: 'staging',
|
|
pass: process.env.STAGING_PASSWORD,
|
|
requestTimeout: parseInt(
|
|
@@ -409,7 +409,7 @@ if (
|
|
|
|
if (parse(process.env.OVERLEAF_IS_SERVER_PRO) === true) {
|
|
settings.bypassPercentageRollouts = true
|
|
- settings.apis.references = { url: 'http://localhost:3040' }
|
|
+ settings.apis.references = { url: 'http://127.0.0.1:3040' }
|
|
}
|
|
|
|
// Compiler
|