Skip to content

Commit 5e23b4e

Browse files
authored
Fix the cosmos readme (pulumi#524)
Fix the cosmos readme
2 parents 401cbea + 8ee8867 commit 5e23b4e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

azure-ts-serverless-url-shortener-global/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ Multi-region deployment of Azure Functions and Cosmos DB with Traffic Manager
6060
6161
```
6262
$ pulumi stack output endpoint
63-
http://urlshort-tm.trafficmanager.net/api/{key}
64-
$ curl http://urlshort-tm.trafficmanager.net/api/pulumi
63+
http://urlshort-tm.trafficmanager.net/api/
64+
$ curl -L $(pulumi stack output endpoint)pulumi
6565
<!doctype html>
6666
<html lang="en-US" prefix="og: http://ogp.me/ns#">
6767
<head>

azure-ts-serverless-url-shortener-global/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,5 +125,5 @@ for (const location of locations) {
125125
}
126126

127127
export const endpoint = profile.fqdn.apply(h => {
128-
return `http://${h}/api/{key}`;
128+
return `http://${h}/api/`;
129129
});

0 commit comments

Comments
 (0)