chore(testing): DO NOT MERGE THIS

This commit is contained in:
Sabe Jones
2024-05-17 14:14:04 -05:00
parent 0756d36fb3
commit 3bb1cceed1
2 changed files with 2 additions and 2 deletions

View File

@@ -328,7 +328,7 @@
</div>
<div
v-if="!IS_PRODUCTION && isUserLoaded"
v-if="ENABLE_TIME_TRAVEL && isUserLoaded"
class="debug-toggle"
>
<button

View File

@@ -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();