pr_17601-1.patch 910 B

12345678910111213141516171819202122232425262728293031
  1. --- settings.js
  2. +++ settings.js
  3. @@ -256,16 +256,16 @@ const settings = {
  4. apis: {
  5. web: {
  6. - url: 'http://localhost:3000',
  7. + url: 'http://127.0.0.1:3000',
  8. user: httpAuthUser,
  9. pass: httpAuthPass,
  10. },
  11. project_history: {
  12. sendProjectStructureOps: true,
  13. - url: 'http://localhost:3054',
  14. + url: 'http://127.0.0.1:3054',
  15. },
  16. v1_history: {
  17. - url: process.env.V1_HISTORY_URL || 'http://localhost:3100/api',
  18. + url: process.env.V1_HISTORY_URL || 'http://127.0.0.1:3100/api',
  19. user: 'staging',
  20. pass: process.env.STAGING_PASSWORD,
  21. requestTimeout: parseInt(
  22. @@ -409,7 +409,7 @@ if (
  23. if (parse(process.env.OVERLEAF_IS_SERVER_PRO) === true) {
  24. settings.bypassPercentageRollouts = true
  25. - settings.apis.references = { url: 'http://localhost:3040' }
  26. + settings.apis.references = { url: 'http://127.0.0.1:3040' }
  27. }
  28. // Compiler