chor: add site name env
This commit is contained in:
parent
3f04b87efb
commit
cbc0470550
|
@ -1,6 +1,9 @@
|
|||
# App port to run on
|
||||
PORT=3000
|
||||
|
||||
# The domain that this website is on
|
||||
SITE_NAME="Kutt"
|
||||
|
||||
# The domain that this website is on
|
||||
DEFAULT_DOMAIN="localhost:3000"
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@ import { cleanEnv, num, str, bool } from "envalid";
|
|||
|
||||
const env = cleanEnv(process.env, {
|
||||
PORT: num({ default: 3000 }),
|
||||
SITE_NAME: str({ example: "Kutt" }),
|
||||
DEFAULT_DOMAIN: str({ example: "kutt.it" }),
|
||||
LINK_LENGTH: num({ default: 6 }),
|
||||
DB_HOST: str({ default: "localhost" }),
|
||||
|
|
Loading…
Reference in New Issue