We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7199ee commit 4920afaCopy full SHA for 4920afa
server/server.js
@@ -14,7 +14,7 @@ const faunadb = require('faunadb');
14
require('./rooms.js')(http);
15
16
const PROD = process.env.PRODUCTION;
17
-console.log(`Environment ${PROD ||'DEV'}`);
+console.log(`Environment ${PROD ? 'PRODUCTION' : 'DEVELOPMENT'}`);
18
19
20
const toggleMaintanceMode = async (action) => {
@@ -32,7 +32,7 @@ const toggleMaintanceMode = async (action) => {
32
maintenance: action,
33
},
34
});
35
- console.log('Toogle maintance mode succeded');
+ console.log(`Toogle maintance mode succeded, status: ${action}`);
36
} catch (e) {
37
console.error('Toggle maintance mode failed');
38
}
@@ -67,7 +67,7 @@ if (process.env.AUTO_PROMOTE) {
67
68
}).then(async () => {
69
console.log('Auto promotion succeded');
70
- await toggleMaintanceMode(true);
+ // await toggleMaintanceMode(true);
71
72
// cannot process.exit(0) becouse heroku will restart anyway
73
}).catch(() => {
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments