Skip to content

Commit 28abc51

Browse files
committed
remove commits from app manifest
Signed-off-by: macolso <[email protected]>
1 parent 770430c commit 28abc51

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

spin.toml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@ id = "trigger-redirect-contributing-common-to-spin"
104104
component = "redirect-contributing-common-to-spin"
105105
route = "/common/cli-reference"
106106

107-
#[[trigger.http]]
108-
#id = "trigger-hub-fileserver-static"
109-
#component = "hub-fileserver-static"
110-
#route = "/hub/..."
107+
[[trigger.http]]
108+
id = "trigger-hub-fileserver-static"
109+
component = "hub-fileserver-static"
110+
route = "/hub/..."
111111

112112
[[trigger.http]]
113113
id = "trigger-registry-tutorial"
@@ -287,14 +287,14 @@ environment = { DESTINATION = "https://spinframework.dev/kubernetes", STATUSCODE
287287
source = "modules/redirect.wasm"
288288
environment = { DESTINATION = "https://spinframework.dev/kubernetes", STATUSCODE = "301" }
289289

290-
#[component.hub-fileserver-static]
291-
#source = { url = "https://github.com/spinframework/spin-fileserver/releases/download/v0.0.2/spin_static_fs.wasm", digest = "sha256:65456bf4e84cf81b62075e761b2b0afaffaef2d0aeda521b245150f76b96421b" }
292-
#environment = { FALLBACK_PATH = "./index.html" }
293-
#files = [{ source = "spin-up-hub/dist/", destination = "/" }]
290+
[component.hub-fileserver-static]
291+
source = { url = "https://github.com/spinframework/spin-fileserver/releases/download/v0.0.2/spin_static_fs.wasm", digest = "sha256:65456bf4e84cf81b62075e761b2b0afaffaef2d0aeda521b245150f76b96421b" }
292+
environment = { FALLBACK_PATH = "./index.html" }
293+
files = [{ source = "spin-up-hub/dist/", destination = "/" }]
294294

295-
#[component.hub-fileserver-static.build]
296-
#command = "npm run build"
297-
#workdir = "spin-up-hub"
295+
[component.hub-fileserver-static.build]
296+
command = "npm run build"
297+
workdir = "spin-up-hub"
298298

299299
# Redirect /spin/spin-oci to https://spinframework.dev/registry-tutorial
300300
[component.registry-tutorial]

0 commit comments

Comments
 (0)