Skip to content

Commit b45512c

Browse files
committed
Fix static routes
1 parent 103a3ca commit b45512c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

openc3-traefik/traefik-allow-http.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ http:
6666
# Where we need to add index.html to the path
6767
# Matches any tool name that starts with static and ends with slash
6868
statictools-index-router:
69-
rule: PathRegexp(`/tools/static.*/`)
69+
rule: PathRegexp(`/tools/static.*/$`)
7070
middlewares:
7171
# add index.html to the end
7272
- "addIndexHtml"

openc3-traefik/traefik-letsencrypt.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ http:
103103
# Where we need to add index.html to the path
104104
# Matches any tool name that starts with static and ends with slash
105105
statictools-index-router:
106-
rule: PathRegexp(`/tools/static.*/`)
106+
rule: PathRegexp(`/tools/static.*/$`)
107107
middlewares:
108108
# add index.html to the end
109109
- "addIndexHtml"

openc3-traefik/traefik-ssl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ http:
8888
# Where we need to add index.html to the path
8989
# Matches any tool name that starts with static and ends with slash
9090
statictools-index-router:
91-
rule: PathRegexp(`/tools/static.*/`)
91+
rule: PathRegexp(`/tools/static.*/$`)
9292
middlewares:
9393
# add index.html to the end
9494
- "addIndexHtml"

openc3-traefik/traefik.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ http:
6666
# Where we need to add index.html to the path
6767
# Matches any tool name that starts with static and ends with slash
6868
statictools-index-router:
69-
rule: PathRegexp(`/tools/static.*/`)
69+
rule: PathRegexp(`/tools/static.*/$`)
7070
middlewares:
7171
# add index.html to the end
7272
- "addIndexHtml"

0 commit comments

Comments
 (0)