-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.js
27 lines (20 loc) · 854 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
export const GA_TRACKING_ID = "G-G5V69VXBHC";
export const availableCurrencies = [
{ name: "USD", value: "usd" },
{ name: "EUR", value: "eur" },
{ name: "GBP", value: "gbp" },
{ name: "JPY", value: "jpy" },
{ name: "RUB", value: "rub" },
];
export const defaultCurrency = availableCurrencies[0].value;
export const CACHE_INVALIDATION_INTERVAL = 3600; // 1 hour
export const WEBSITE_URL =
process.env.NEXT_PUBLIC_VERCEL_ENV === "production"
? "www.dca-cc.com"
: process.env.NEXT_PUBLIC_VERCEL_URL;
export const WEBSITE_PREFIX =
process.env.NEXT_PUBLIC_VERCEL_ENV === "production" ? "https://" : "http://";
export const WEBSITE_PATHNAME = WEBSITE_PREFIX + WEBSITE_URL;
export const WEBSITE_EMAIL = "dcacryptocurrency@gmail.com";
export const FREE_TIER_REDIS_TTL = 3600; // Seconds
export const FREE_TIER_CALCULATION_LIMIT = 5;