forked from Mirrors/keyoxide-web
Fix state detection
This commit is contained in:
parent
be88cae995
commit
e4af24faba
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ import apiRouter2 from '../api/v2/index.js'
|
||||||
|
|
||||||
const router = express.Router()
|
const router = express.Router()
|
||||||
|
|
||||||
if (process.env.ENABLE_MAIN_MODULE === 'true') {
|
if ((process.env.ENABLE_MAIN_MODULE ?? 'true') === 'true') {
|
||||||
router.use('/0', apiRouter0)
|
router.use('/0', apiRouter0)
|
||||||
}
|
}
|
||||||
router.use('/1', apiRouter1)
|
router.use('/1', apiRouter1)
|
||||||
|
|
Loading…
Reference in a new issue