[www] removed instagram code
This commit is contained in:
1 parent
7c531f93d2
commit
ec8d18b587
2 files changed
-10
No files matched your search
@@ -31,8 +31,6 @@ export const homeUrl = protocol + host
|
|||||||
export const index = path.join(__dirname, indexFile)
|
export const index = path.join(__dirname, indexFile)
|
||||||
export const sitemapCacheTime = 600000// 600 sec - cache purge period
|
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 viewMain = path.join(__dirname, 'views/main.hbs')
|
||||||
export const view404 = path.join(__dirname, 'views/404.hbs')
|
export const view404 = path.join(__dirname, 'views/404.hbs')
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
|
||||||
Reference in new issue
Block a user