:test_cube: Upgrade testing data schema to v2

This commit is contained in:
2024-01-26 13:19:31 +08:00
parent 61d30315ec
commit 440851a305
7 changed files with 41 additions and 35 deletions

View File

@ -0,0 +1,9 @@
id = "example"
[[locations]]
id = "example-location"
host = ["localhost:8000"]
path = ["/"]
[[locations.destinations]]
id = "example-destination"
uri = "files://../data/spa?fallback=index.html"

View File

@ -1,8 +0,0 @@
name: Example Site
rules:
- host: ["localhost:8000"]
path: ["/"]
upstreams:
- id: example
name: Benchmarking Data
uri: files://../data