functions/comics/spin.toml
Peter Kurfer 96cf231814
All checks were successful
functions / build (push) Successful in 1m36s
feat(comics): add xkcd comics
2025-01-17 14:45:14 +01:00

18 lines
491 B
TOML

spin_manifest_version = 2
[application]
name = "comics"
version = "0.1.0"
authors = ["Peter Kurfer <peter.kurfer@rwe.com>"]
description = ""
[[trigger.http]]
route = "/..."
component = "comics"
[component.comics]
source = "main.wasm"
allowed_outbound_hosts = [ "https://www.monkeyuser.com", "https://c.xkcd.com" ]
[component.comics.build]
command = "tinygo build -target=wasip1 -gc=leaking -no-debug -scheduler=none -buildmode=c-shared -o main.wasm main.go"
watch = ["**/*.go", "go.mod"]