mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
Merge pull request #16859 from overleaf/jpa-sharelatex-cleanup
[misc] ShareLaTeX cleanup - high impact GitOrigin-RevId: 6dcce9b0f15e30f7afcf6d69c3df36a369f38120
This commit is contained in:
@@ -2,7 +2,7 @@ let HttpController
|
||||
module.exports = HttpController = {
|
||||
// The code in this controller is hard to unit test because of a lot of
|
||||
// dependencies on internal socket.io methods. It is not critical to the running
|
||||
// of ShareLaTeX, and is only used for getting stats about connected clients,
|
||||
// of Overleaf, and is only used for getting stats about connected clients,
|
||||
// and for checking internal state in acceptance tests. The acceptances tests
|
||||
// should provide appropriate coverage.
|
||||
_getConnectedClientView(ioClient) {
|
||||
|
||||
@@ -92,7 +92,7 @@ const settings = {
|
||||
url: `http://${
|
||||
process.env.WEB_API_HOST || process.env.WEB_HOST || 'localhost'
|
||||
}:${process.env.WEB_API_PORT || process.env.WEB_PORT || 3000}`,
|
||||
user: process.env.WEB_API_USER || 'sharelatex',
|
||||
user: process.env.WEB_API_USER || 'overleaf',
|
||||
pass: process.env.WEB_API_PASSWORD || 'password',
|
||||
},
|
||||
documentupdater: {
|
||||
@@ -108,7 +108,7 @@ const settings = {
|
||||
sessionSecret: process.env.SESSION_SECRET || 'secret-please-change',
|
||||
},
|
||||
|
||||
cookieName: process.env.COOKIE_NAME || 'sharelatex.sid',
|
||||
cookieName: process.env.COOKIE_NAME || 'overleaf.sid',
|
||||
|
||||
// Expose the hostname in the `debug.getHostname` rpc
|
||||
exposeHostname: process.env.EXPOSE_HOSTNAME === 'true',
|
||||
|
||||
Reference in New Issue
Block a user