Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sites/platform/src/add-services/mercure.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ Note that changing the name of the service replaces it with a brand new service

### 2. Define the route

Include an entry in your `.platform/routes.yaml` file as shown below, replacing <APP_NAME> with the name of your Mercure app:
Include an entry in your `.platform/routes.yaml` file as shown below, replacing <SERVICE_NAME> with the name of your Mercure service:

```yaml {configFile="routes"}
"https://mercure.{default}/":
type: upstream
upstream: "<APP_NAME>:mercure"
upstream: "<SERVICE_NAME>:mercure"
```

### 3. Define the relationship
Expand Down Expand Up @@ -174,7 +174,7 @@ mercure:
```yaml {configFile="routes"}
"https://mercure.{default}/":
type: upstream
upstream: "<APP_NAME>:mercure"
upstream: "<SERVICE_NAME>:mercure"
```

#### [App configuration](/create-apps/_index.md)
Expand Down
4 changes: 2 additions & 2 deletions sites/upsun/src/add-services/mercure.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,13 @@ Note that changing the name of the service replaces it with a brand new service

### 2. Define the route

To access the service URL, add an entry to the `.routes` key as shown below, replacing <APP_NAME> with the name of your app:
To access the service URL, add an entry to the `.routes` key as shown below, replacing <SERVICE_NAME> with the name of your service:

```yaml {configFile="app"}
routes:
"https://mercure.{default}/":
type: upstream
upstream: "<APP_NAME>:mercure"
upstream: "<SERVICE_NAME>:mercure"
```

### 3. Define the relationship
Expand Down
Loading