fix: 将Traefik路由规则中的单引号替换为反引号

统一所有服务配置文件中Traefik路由规则的路径前缀引号格式,从单引号改为反引号以保持一致性
This commit is contained in:
fanfpy 2025-07-01 17:04:46 +08:00
parent 302fbbc11b
commit 2ba55b4dae
6 changed files with 6 additions and 6 deletions

View File

@ -9,7 +9,7 @@
"id": "data-service-1", "id": "data-service-1",
"tags": [ "tags": [
"traefik.enable=true", "traefik.enable=true",
"traefik.http.routers.data-service.rule=PathPrefix('/api/data')", "traefik.http.routers.data-service.rule=PathPrefix(`/api/data`)",
"traefik.http.routers.data-service.entrypoints=web" "traefik.http.routers.data-service.entrypoints=web"
], ],
"name": "data-service", "name": "data-service",

View File

@ -9,7 +9,7 @@
"id": "emotion-service-1", "id": "emotion-service-1",
"tags": [ "tags": [
"traefik.enable=true", "traefik.enable=true",
"traefik.http.routers.emotion-service.rule=PathPrefix('/api/emotion')", "traefik.http.routers.emotion-service.rule=PathPrefix(`/api/emotion`)",
"traefik.http.routers.emotion-service.entrypoints=web" "traefik.http.routers.emotion-service.entrypoints=web"
], ],
"name": "emotion-service", "name": "emotion-service",

View File

@ -9,7 +9,7 @@
"id": "frontend-1", "id": "frontend-1",
"tags": [ "tags": [
"traefik.enable=true", "traefik.enable=true",
"traefik.http.routers.frontend.rule=PathPrefix('/')", "traefik.http.routers.frontend.rule=PathPrefix(`/`)",
"traefik.http.routers.frontend.entrypoints=web" "traefik.http.routers.frontend.entrypoints=web"
], ],
"name": "frontend", "name": "frontend",

View File

@ -9,7 +9,7 @@
"id": "quant-service-1", "id": "quant-service-1",
"tags": [ "tags": [
"traefik.enable=true", "traefik.enable=true",
"traefik.http.routers.quant-service.rule=PathPrefix('/api/quant')", "traefik.http.routers.quant-service.rule=PathPrefix(`/api/quant`)",
"traefik.http.routers.quant-service.entrypoints=web" "traefik.http.routers.quant-service.entrypoints=web"
], ],
"name": "quant-service", "name": "quant-service",

View File

@ -9,7 +9,7 @@
"id": "recommend-service-1", "id": "recommend-service-1",
"tags": [ "tags": [
"traefik.enable=true", "traefik.enable=true",
"traefik.http.routers.recommend-service.rule=PathPrefix('/api/recommend')", "traefik.http.routers.recommend-service.rule=PathPrefix(`/api/recommend`)",
"traefik.http.routers.recommend-service.entrypoints=web" "traefik.http.routers.recommend-service.entrypoints=web"
], ],
"name": "recommend-service", "name": "recommend-service",

View File

@ -9,7 +9,7 @@
"id": "user-service-1", "id": "user-service-1",
"tags": [ "tags": [
"traefik.enable=true", "traefik.enable=true",
"traefik.http.routers.user-service.rule=PathPrefix('/api/user')", "traefik.http.routers.user-service.rule=PathPrefix(`/api/user`)",
"traefik.http.routers.user-service.entrypoints=web" "traefik.http.routers.user-service.entrypoints=web"
], ],
"name": "user-service", "name": "user-service",