Skip to content

Commit e3fc854

Browse files
committed
Force maintenance page if env var set
1 parent 1ca5c70 commit e3fc854

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/middleware.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import { config as appConfig } from './config';
55

66
async function shouldShowMaintenancePage() {
77
if (appConfig.FORCE_MAINTENANCE_PAGE) {
8-
// TODO: This should be true.
9-
return false;
8+
return true;
109
}
1110

1211
const response = await fetch(

0 commit comments

Comments
 (0)