rm src/config

This commit is contained in:
tmshv committed 2020-02-15 07:20:51 +03:00
1 parent fe02f04217
commit 20436c4aad
1 file changed
-22
-22
View File
@@ -1,22 +0,0 @@
import path from 'path'
export const port = process.env['PORT'] || 3000
export const name = 'Hudozka'
export const host = 'art.shlisselburg.org'
export const protocol = 'https://'
export const homeUrl = protocol + host
export const index = path.join(__dirname, 'templates/main.html')
export const sitemapCacheTime = 600000// 600 sec - cache purge period
export const viewMain = path.join(__dirname, 'views/main.hbs')
export const view404 = path.join(__dirname, 'views/404.hbs')
export const sessionConfig = {
key: 'sid', /** (string) cookie key */
maxAge: 86400000, /** (number) maxAge in ms */
overwrite: false, /** (boolean) can overwrite or not */
httpOnly: false, /** (boolean) httpOnly or not */
signed: true, /** (boolean) signed or not */
}