Repository navigation
Expand file tree
/
Copy path.dev.vars.example
More file actions
33 lines (28 loc) · 1.72 KB
/
Copy path.dev.vars.example
File metadata and controls
33 lines (28 loc) · 1.72 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
# Copy this to `.dev.vars` for local development.
# The one-click deploy reads the KEYS here to know which secrets to ask you for.
SITE_PASSWORD=
# Optional. Where the bare domain and unknown slugs redirect (your main site).
# Set it in Worker Settings -> Variables, or here for local dev. Leave unset to
# show the sign-in page at the root and a 404 for unknown slugs.
# ROOT_URL=https://yourbrand.com
# Optional. Enables the HTTP API. Send it as `Authorization: Bearer <token>`.
# Generate a long random value (e.g. `openssl rand -hex 24`). Leave unset to
# keep the API turned off.
# API_TOKEN=
# Optional. The host your short links live on, if it's different from where you
# open the dashboard (e.g. you manage on my-worker.workers.dev but share links
# on go.yourbrand.com). Cosmetic: it sets what the dashboard shows and the QR
# encodes. Your links already resolve on every host bound to the Worker.
# LINK_HOST=go.yourbrand.com
# Optional. Put the dashboard on its own host (e.g. dash.yourbrand.com) instead
# of on an app. subdomain or the short domain. When set, the short domain stays
# redirect-only and the dashboard lives here. Pair it with LINK_HOST set to your
# short domain so the dashboard shows the right short URLs. By default (unset)
# the dashboard is reached on the *.workers.dev URL or any `app.*` host.
# DASH_HOST=dash.yourbrand.com
# Optional. Put the dashboard ON the short domain, at this path, so one host
# does everything (yourshort.domain/<DASH_PATH>). Unset by default, which keeps
# the short domain redirect-only. Set it (e.g. "app") to opt in; that word then
# can't be used as a short link. One path segment; reserved route words like
# login/settings/api fall back to "app". Ignored if DASH_HOST is set.
# DASH_PATH=app