Merge pull request #18116 from overleaf/jpa-bulk-replace-localhost
[misc] bulk replace localhost with 127.0.0.1 GitOrigin-RevId: d238f3635302e8ff5500d611108c4d1bef216726
This commit is contained in:
@@ -25,7 +25,7 @@ describe('CompileManager', function () {
|
||||
apis: {
|
||||
clsi: { submissionBackendClass: 'n2d' },
|
||||
},
|
||||
redis: { web: { host: 'localhost', port: 42 } },
|
||||
redis: { web: { host: '127.0.0.1', port: 42 } },
|
||||
rateLimit: { autoCompile: {} },
|
||||
}),
|
||||
'../../infrastructure/RedisWrapper': {
|
||||
|
||||
@@ -503,7 +503,7 @@ describe('ExportsHandler', function () {
|
||||
beforeEach(function (done) {
|
||||
this.settings.apis = {
|
||||
v1: {
|
||||
url: 'http://localhost:5000',
|
||||
url: 'http://127.0.0.1:5000',
|
||||
user: 'overleaf',
|
||||
pass: 'pass',
|
||||
timeout: 15000,
|
||||
@@ -596,7 +596,7 @@ describe('ExportsHandler', function () {
|
||||
beforeEach(function (done) {
|
||||
this.settings.apis = {
|
||||
v1: {
|
||||
url: 'http://localhost:5000',
|
||||
url: 'http://127.0.0.1:5000',
|
||||
user: 'overleaf',
|
||||
pass: 'pass',
|
||||
timeout: 15000,
|
||||
@@ -648,7 +648,7 @@ describe('ExportsHandler', function () {
|
||||
beforeEach(function (done) {
|
||||
this.settings.apis = {
|
||||
v1: {
|
||||
url: 'http://localhost:5000',
|
||||
url: 'http://127.0.0.1:5000',
|
||||
user: 'overleaf',
|
||||
pass: 'pass',
|
||||
timeout: 15000,
|
||||
|
||||
@@ -9,7 +9,7 @@ describe('UrlHelper', function () {
|
||||
beforeEach(function () {
|
||||
this.settings = {
|
||||
apis: { linkedUrlProxy: { url: undefined } },
|
||||
siteUrl: 'http://localhost:3000',
|
||||
siteUrl: 'http://127.0.0.1:3000',
|
||||
}
|
||||
this.UrlHelper = SandboxedModule.require(modulePath, {
|
||||
requires: { '@overleaf/settings': this.settings },
|
||||
|
||||
@@ -101,7 +101,7 @@ describe('TemplatesManager', function () {
|
||||
path: {
|
||||
dumpFolder: this.dumpFolder,
|
||||
},
|
||||
siteUrl: (this.siteUrl = 'http://localhost:3000'),
|
||||
siteUrl: (this.siteUrl = 'http://127.0.0.1:3000'),
|
||||
apis: {
|
||||
v1: {
|
||||
url: (this.v1Url = 'http://overleaf.com'),
|
||||
|
||||
@@ -16,7 +16,7 @@ const collaberatorRef = new ObjectId()
|
||||
const projectName = 'project_name_here'
|
||||
|
||||
const thirdPartyDataStoreApiUrl = 'http://third-party-json-store.herokuapp.com'
|
||||
const siteUrl = 'http://www.localhost:3000'
|
||||
const siteUrl = 'http://127.0.0.1:3000'
|
||||
const filestoreUrl = 'filestore.overleaf.com'
|
||||
|
||||
describe('TpdsUpdateSender', function () {
|
||||
|
||||
Reference in New Issue
Block a user