forked from edgio-docs/edgio-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.js
More file actions
54 lines (50 loc) · 1.33 KB
/
Copy pathconstants.js
File metadata and controls
54 lines (50 loc) · 1.33 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
const PRODUCT_NAME = 'Layer0'
const PRODUCT_NAME_LOWER = PRODUCT_NAME.toLowerCase()
const PRODUCT_NAME_UPPER = PRODUCT_NAME.toUpperCase()
const CLI_NAME = 'layer0'
const PACKAGE_NAME = '@layer0'
const CONFIG_FILE = 'layer0.config.js'
const HEADER_PREFIX = 'x-0'
const COOKIE_PREFIX = 'layer0'
const DOMAIN = 'layer0.co'
const APP_DOMAIN = `app.${DOMAIN}`
const DOCS_DOMAIN = `docs.${DOMAIN}`
const DOCS_PAGES_DOMAIN = 'layer0-docs.github.io'
const DOCS_REPO = 'layer0-docs/layer0-docs'
const EXAMPLES_REPO = 'layer0-docs/layer0-examples'
const WWW_URL = `https://www.${DOMAIN}`
const APP_URL = `https://${APP_DOMAIN}`
const FORUM_URL = `https://forum.${DOMAIN}`
const STATUS_URL = `https://status.${DOMAIN}`
const HELP_URL = `https://help.${DOMAIN}`
const DOCS_URL = `https://${DOCS_DOMAIN}`
const DOCS_PAGES_REPO_URL = `https://${DOCS_PAGES_DOMAIN}/layer0-docs-pages`
const NODE_VERSION = '14.x'
const STARTER_NAME = 'layer0-app'
const EDGEJS_LABEL = 'EdgeJS'
module.exports = {
PRODUCT_NAME,
PRODUCT_NAME_LOWER,
PRODUCT_NAME_UPPER,
CLI_NAME,
PACKAGE_NAME,
CONFIG_FILE,
HEADER_PREFIX,
COOKIE_PREFIX,
DOMAIN,
APP_DOMAIN,
DOCS_DOMAIN,
DOCS_PAGES_DOMAIN,
WWW_URL,
APP_URL,
FORUM_URL,
STATUS_URL,
HELP_URL,
DOCS_URL,
DOCS_PAGES_REPO_URL,
NODE_VERSION,
STARTER_NAME,
DOCS_REPO,
EXAMPLES_REPO,
EDGEJS_LABEL,
}