mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-17 09:59:10 +00:00
miniflare init
This commit is contained in:
parent
8c07ed3123
commit
688954a2e0
52 changed files with 898 additions and 25 deletions
29
packages/api/wrangler.toml
Normal file
29
packages/api/wrangler.toml
Normal file
|
@ -0,0 +1,29 @@
|
|||
# THIS DOES NOT WORK WITH WRANGLER BY DEFAULT.
|
||||
# BE EXTREMELY AWARE OF THIS CAVEAT.
|
||||
|
||||
name = "api"
|
||||
type = "javascript"
|
||||
account_id = ""
|
||||
workers_dev = true
|
||||
route = ""
|
||||
zone_id = ""
|
||||
|
||||
kv_namespaces = [
|
||||
{ binding = "KV_SESSIONS", id = "", preview_id = "" },
|
||||
{ binding = "KV_GUILDS", id = "", preview_id = "" },
|
||||
{ binding = "KV_GUILD_DATA", id = "", preview_id = "" },
|
||||
]
|
||||
|
||||
[build]
|
||||
command = "yarn build"
|
||||
[build.upload]
|
||||
format = "modules"
|
||||
dir = "dist"
|
||||
main = "index.mjs"
|
||||
|
||||
[miniflare]
|
||||
host = "0.0.0.0"
|
||||
port = 6609
|
||||
watch = true
|
||||
env_path = "../../.env"
|
||||
kv_persist = true
|
Loading…
Add table
Add a link
Reference in a new issue