mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
Merge pull request #4297 from overleaf/jpa-prepare-separate-defaults-per-env
[config] prepare separate overrides per env GitOrigin-RevId: fc000c023e7cc8383075c633c2882ab8e6b36c4b
This commit is contained in:
@@ -63,6 +63,8 @@ config/*.coffee
|
|||||||
config/*.js
|
config/*.js
|
||||||
!config/settings.defaults.js
|
!config/settings.defaults.js
|
||||||
!config/settings.webpack.js
|
!config/settings.webpack.js
|
||||||
|
!config/settings.overrides.saas.js
|
||||||
|
!config/settings.overrides.server-pro.js
|
||||||
|
|
||||||
modules/**/Makefile
|
modules/**/Makefile
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
const base = require('../../../config/settings.overrides.saas')
|
||||||
|
|
||||||
let features
|
let features
|
||||||
const v1Api = {
|
const v1Api = {
|
||||||
url: 'http://localhost:5000',
|
url: 'http://localhost:5000',
|
||||||
@@ -10,7 +12,7 @@ const httpAuthPass = 'password'
|
|||||||
const httpAuthUsers = {}
|
const httpAuthUsers = {}
|
||||||
httpAuthUsers[httpAuthUser] = httpAuthPass
|
httpAuthUsers[httpAuthUser] = httpAuthPass
|
||||||
|
|
||||||
module.exports = {
|
module.exports = base.mergeWith({
|
||||||
cacheStaticAssets: true,
|
cacheStaticAssets: true,
|
||||||
enableSubscriptions: true,
|
enableSubscriptions: true,
|
||||||
|
|
||||||
@@ -234,4 +236,4 @@ module.exports = {
|
|||||||
test: {
|
test: {
|
||||||
counterInit: 0,
|
counterInit: 0,
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user