forked from hyperfy-xyz/hyperfy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
28 lines (20 loc) · 751 Bytes
/
.env.example
File metadata and controls
28 lines (20 loc) · 751 Bytes
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
# The world folder to run
WORLD=world
# The port the server runs on
PORT=3000
# The secret the server uses to create/parse json web tokens
JWT_SECRET=hyper
# The code used to become admin in the world (type /admin <code> in chat)
# If left blank, everyone is an admin!
ADMIN_CODE=
# How often the world saves (seconds)
# Can be set to 0 to disable saving
SAVE_INTERVAL=60
# The maximum upload file size for models etc (mb)
PUBLIC_MAX_UPLOAD_SIZE=12
# The public web socket url the client connects to
PUBLIC_WS_URL=http://localhost:3000/ws
# The public url used by clients to access api (eg upload assets)
PUBLIC_API_URL=http://localhost:3000/api
# The public url used by clients to fetch assets
PUBLIC_ASSETS_URL=http://localhost:3000/assets