Skip to content

Commit

Permalink
website: fix wrong service urls in services json api endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
manuhabitela committed May 15, 2024
1 parent 3d230aa commit c02a1b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/src/pages/api/v1/services-local.json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export async function GET({ url }: APIContext) {
.map((service) => ({
id: service.id,
name: service.name,
url: new URL(`/services/${service.id}`, url).toString(),
url: service.url,
})),
),
)
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/api/v1/services.json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export async function GET({ url }: APIContext) {
.map((service) => ({
id: service.id,
name: service.name,
url: new URL(`/services/${service.id}`, url).toString(),
url: service.url,
})),
),
)
Expand Down

0 comments on commit c02a1b0

Please sign in to comment.