Introduce config module

This commit is contained in:
Akihiko Odaki
2018-04-02 13:15:53 +09:00
parent 5b9f3701f5
commit 3fb6834f7d
50 changed files with 213 additions and 208 deletions

View File

@@ -1,7 +1,7 @@
const push = require('web-push');
import * as mongo from 'mongodb';
import Subscription from './models/sw-subscription';
import config from './conf';
import config from './config';
if (config.sw) {
// アプリケーションの連絡先と、サーバーサイドの鍵ペアの情報を登録