diff --git a/spin.toml b/spin.toml index f4f16c81..cec19861 100644 --- a/spin.toml +++ b/spin.toml @@ -49,6 +49,15 @@ id = "trigger-bartholomew-spin-v3" component = "bartholomew-spin-v3" route = "/spin/v3/..." +[[trigger.http]] +id = "trigger-well-known" +component = "well-known" +route = "/.well-known/..." + +[component.well-known] +source = "modules/spin_static_fs.wasm" +files = [{ source = "well-known/", destination = "/" }] + [component.bartholomew] # Using build from bartholomew main source = "modules/bartholomew.wasm" diff --git a/well-known/wasm-pkg/registry.json b/well-known/wasm-pkg/registry.json new file mode 100644 index 00000000..073b6b1e --- /dev/null +++ b/well-known/wasm-pkg/registry.json @@ -0,0 +1,4 @@ +{ + "ociRegistry": "ghcr.io", + "ociNamespacePrefix": "spinframework/wasm-pkg/" +}