-
Notifications
You must be signed in to change notification settings - Fork 1
/
spin.toml
27 lines (22 loc) · 894 Bytes
/
spin.toml
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
spin_manifest_version = 2
[application]
name = "tokenshare"
version = "0.1.1"
authors = ["Adam Sobotka <[email protected]>"]
description = ""
[[trigger.http]]
route = "/..."
component = "tokenshare"
[component.tokenshare]
source = "target/wasm32-wasi/release/tokenshare.wasm"
allowed_outbound_hosts = []
key_value_stores = ["default"]
[component.tokenshare.build]
command = "cargo leptos build --release && LEPTOS_OUTPUT_NAME=tokenshare cargo build --lib --target wasm32-wasi --release --no-default-features --features ssr"
watch = ["src/**/*.rs", "Cargo.toml"]
[[trigger.http]]
route = "/pkg/..."
component = "pkg"
[component.pkg]
source = { url = "https://github.com/fermyon/spin-fileserver/releases/download/v0.1.0/spin_static_fs.wasm", digest = "sha256:96c76d9af86420b39eb6cd7be5550e3cb5d4cc4de572ce0fd1f6a29471536cb4" }
files = [{ source = "target/site/pkg", destination = "/" }]