♻️ RoadSign v2 #6
@ -1,16 +1,5 @@
|
|||||||
id = "example-region"
|
id = "example-region"
|
||||||
|
|
||||||
[[locations]]
|
|
||||||
id = "example-sse"
|
|
||||||
host = ["localhost:8000"]
|
|
||||||
path = ["/sse"]
|
|
||||||
[[locations.destinations]]
|
|
||||||
id = "example-sse-destination"
|
|
||||||
uri = "http://localhost:5000?sse=enable"
|
|
||||||
[[locations.transformers]]
|
|
||||||
type = "replacePath"
|
|
||||||
options = { pattern = "/sse", value = "" }
|
|
||||||
|
|
||||||
[[locations]]
|
[[locations]]
|
||||||
id = "example-websocket"
|
id = "example-websocket"
|
||||||
host = ["localhost:8000"]
|
host = ["localhost:8000"]
|
||||||
@ -20,9 +9,22 @@ id = "example-websocket-destination"
|
|||||||
uri = "http://localhost:8765"
|
uri = "http://localhost:8765"
|
||||||
|
|
||||||
[[locations]]
|
[[locations]]
|
||||||
id = "example-location"
|
id = "example-warden"
|
||||||
host = ["localhost:8000"]
|
host = ["localhost:4321"]
|
||||||
path = ["/"]
|
path = ["/"]
|
||||||
[[locations.destinations]]
|
[[locations.destinations]]
|
||||||
id = "example-destination"
|
id = "example-warden-destination"
|
||||||
uri = "files://test/data"
|
|
||||||
|
[[applications]]
|
||||||
|
id = "example-warden-app"
|
||||||
|
workdir = "test/data/warden"
|
||||||
|
command = ["node", "dist/server/entry.mjs"]
|
||||||
|
environment = ["PUBLIC_CMS=https://smartsheep.studio"]
|
||||||
|
|
||||||
|
# [[locations]]
|
||||||
|
# id = "example-location"
|
||||||
|
# host = ["localhost:8000"]
|
||||||
|
# path = ["/"]
|
||||||
|
# [[locations.destinations]]
|
||||||
|
# id = "example-destination"
|
||||||
|
# uri = "files://test/data"
|
4
test/data/.gitignore
vendored
4
test/data/.gitignore
vendored
@ -1,3 +1 @@
|
|||||||
/ssr
|
/warden
|
||||||
/spa
|
|
||||||
/congress
|
|
Loading…
Reference in New Issue
Block a user