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:
Jakob Ackermann
2024-04-25 13:56:00 +01:00
committed by Copybot
parent 90a02ebc2f
commit a540754f6e
74 changed files with 236 additions and 236 deletions

View File

@@ -18,7 +18,7 @@ describe('fetch-utils', function () {
before(async function () {
this.server = new TestServer()
await this.server.start(PORT)
this.url = path => `http://localhost:${PORT}${path}`
this.url = path => `http://127.0.0.1:${PORT}${path}`
})
after(async function () {

View File

@@ -4,7 +4,7 @@
const redis = require('../../')
const logger = require('@overleaf/logger')
const rclient = redis.createClient({ host: 'localhost', port: '6379' })
const rclient = redis.createClient({ host: '127.0.0.1', port: '6379' })
setInterval(() => {
rclient.healthCheck(err => {