Spaces:
Running
Running
Update Caddyfile
Browse files
Caddyfile
CHANGED
@@ -10,9 +10,8 @@
|
|
10 |
:3001 {
|
11 |
reverse_proxy localhost:3000
|
12 |
|
13 |
-
route /api/* {
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
}
|
18 |
}
|
|
|
10 |
:3001 {
|
11 |
reverse_proxy localhost:3000
|
12 |
|
13 |
+
route /api/v1/* {
|
14 |
+
rewrite /api/v1/* /v1/{path}
|
15 |
+
reverse_proxy localhost:3000
|
16 |
+
}
|
|
|
17 |
}
|