[www] removed instagram code

This commit is contained in:
Roman Timashev committed 2017-11-06 17:36:50 +03:00
1 parent 7c531f93d2
commit ec8d18b587
2 files changed
-10

No files matched your search

-2
View File
@@ -31,8 +31,6 @@ export const homeUrl = protocol + host
export const index = path.join(__dirname, indexFile)
export const sitemapCacheTime = 600000// 600 sec - cache purge period
export const instagramToken = privateData['instagramToken']
export const viewMain = path.join(__dirname, 'views/main.hbs')
export const view404 = path.join(__dirname, 'views/404.hbs')
-8
View File
@@ -1,8 +0,0 @@
import {instagramToken} from '../config';
export const services = {
instagram: instagramToken
};
export const checkAuth = (name, token) => name in services && services[name] === token;
export const authChecker = store => (name, token) => name in store && store[name] === token;