mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
chore(testing): DO NOT MERGE THIS
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user