mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 19:47:03 +00:00
chore(testing): DO NOT MERGE THIS
This commit is contained in:
parent
0756d36fb3
commit
3bb1cceed1
2 changed files with 2 additions and 2 deletions
|
|
@ -328,7 +328,7 @@
|
|||
</div>
|
||||
|
||||
<div
|
||||
v-if="!IS_PRODUCTION && isUserLoaded"
|
||||
v-if="ENABLE_TIME_TRAVEL && isUserLoaded"
|
||||
class="debug-toggle"
|
||||
>
|
||||
<button
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import {
|
|||
} from '../libs/errors';
|
||||
|
||||
export default function ensureDevelpmentMode (req, res, next) {
|
||||
if (nconf.get('IS_PROD')) {
|
||||
if (!nconf.get('ENABLE_TIME_TRAVEL')) {
|
||||
next(new NotFound());
|
||||
} else {
|
||||
next();
|
||||
|
|
|
|||
Loading…
Reference in a new issue