Skip to content

Commit b7df5c5

Browse files
committed
fix(mercure): use precise wording when describing routes
The term `APP_NAME` was misleading cause previously it refers to mercure with `SERVICE_NAME`.
1 parent 2412aa7 commit b7df5c5

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

sites/platform/src/add-services/mercure.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,12 @@ Note that changing the name of the service replaces it with a brand new service
8888
8989
### 2. Define the route
9090
91-
Include an entry in your `.platform/routes.yaml` file as shown below, replacing <APP_NAME> with the name of your Mercure app:
91+
Include an entry in your `.platform/routes.yaml` file as shown below, replacing <SERVICE_NAME> with the name of your Mercure service:
9292

9393
```yaml {configFile="routes"}
9494
"https://mercure.{default}/":
9595
type: upstream
96-
upstream: "<APP_NAME>:mercure"
96+
upstream: "<SERVICE_NAME>:mercure"
9797
```
9898

9999
### 3. Define the relationship
@@ -174,7 +174,7 @@ mercure:
174174
```yaml {configFile="routes"}
175175
"https://mercure.{default}/":
176176
type: upstream
177-
upstream: "<APP_NAME>:mercure"
177+
upstream: "<SERVICE_NAME>:mercure"
178178
```
179179

180180
#### [App configuration](/create-apps/_index.md)

sites/upsun/src/add-services/mercure.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,13 @@ Note that changing the name of the service replaces it with a brand new service
143143
144144
### 2. Define the route
145145
146-
To access the service URL, add an entry to the `.routes` key as shown below, replacing <APP_NAME> with the name of your app:
146+
To access the service URL, add an entry to the `.routes` key as shown below, replacing <SERVICE_NAME> with the name of your service:
147147

148148
```yaml {configFile="app"}
149149
routes:
150150
"https://mercure.{default}/":
151151
type: upstream
152-
upstream: "<APP_NAME>:mercure"
152+
upstream: "<SERVICE_NAME>:mercure"
153153
```
154154

155155
### 3. Define the relationship

0 commit comments

Comments
 (0)