worker-links/wrangler.toml
infra 1bef54163c
Simple web UI for shortlink creation (#15)
* add HTML interface (inlined into typescript) - with CSS and autocomplete hand-holding

* Some changes (listed below)

- Make UI optional and disabled by default
- Lint it in line with other code
- Import UI from a bundled HTML file
- Add UI to README
- Add support for random URL generation
- Show the URL in the output

---------

Co-authored-by: Erisa A <erisa@erisa.uk>
2023-04-30 01:43:20 +01:00

19 lines
504 B
TOML

name = "worker-links"
main = "src/index.ts"
# optional
#logpush = true
# Change these!!
account_id = "ece1d09b06af2ced51407c97505ea0cc"
kv_namespaces = [ { binding = "KV", id = "1be44406edc142a084435e24dbf8ae1d", preview_id = "15cfb90ecd654b8f8a9ccd600832093f" }]
compatibility_flags = []
compatibility_date = "2023-03-05"
# Remove or comment out the route line if using workers_dev
workers_dev = false
route = { pattern = "erisa.link/*", zone_name = "erisa.link" }
[vars]
ENABLE_INDEX_FORM = true