bug fixes
This commit is contained in:
parent
f2a95e291a
commit
985e3811e3
14 changed files with 758 additions and 78 deletions
|
|
@ -304,10 +304,14 @@ function populateDeviceId (req, res, next) {
|
|||
next()
|
||||
}
|
||||
|
||||
let oldVersionId = 'initial'
|
||||
|
||||
function populateSettings (req, res, next) {
|
||||
const versionId = req.headers['config-version']
|
||||
|
||||
console.log('DEBUG300: %s', versionId)
|
||||
if (versionId !== oldVersionId) {
|
||||
console.log('DEBUG611: %s', versionId)
|
||||
oldVersionId = versionId
|
||||
}
|
||||
|
||||
if (!versionId) {
|
||||
return settingsLoader.loadLatest()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue