mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 12:17:37 +00:00
feat: use ts, update cd, update README (#12)
Signed-off-by: Jef LeCompte <jeffreylec@gmail.com>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
import {resolve} from 'path';
|
||||
import {config} from 'dotenv';
|
||||
|
||||
config({path: resolve(__dirname, '../.env')});
|
||||
|
||||
const email = {
|
||||
username: process.env.EMAIL_USERNAME,
|
||||
password: process.env.EMAIL_PASSWORD
|
||||
};
|
||||
|
||||
const notifications = {
|
||||
email: email.username && email.password
|
||||
};
|
||||
|
||||
const page = {
|
||||
height: 1920,
|
||||
userAgent: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
|
||||
width: 1080
|
||||
};
|
||||
|
||||
const stores = process.env.STORES ?? 'nvidia';
|
||||
|
||||
export const Config = {
|
||||
email,
|
||||
notifications,
|
||||
page,
|
||||
rateLimitTimeout: 5000,
|
||||
stores
|
||||
};
|
||||
Reference in New Issue
Block a user