Fix the cosmos readme
MODIFY
azure-ts-serverless-url-shortener-global/README.md
azure-ts-serverless-url-shortener-global/README.md
@@ -60,8 +60,8 @@ Multi-region deployment of Azure Functions and Cosmos DB with Traffic Manager
```
$ pulumi stack output endpoint
- http://urlshort-tm.trafficmanager.net/api/{key}
- $ curl http://urlshort-tm.trafficmanager.net/api/pulumi
+ http://urlshort-tm.trafficmanager.net/api/
+ $ curl -L $(pulumi stack output endpoint)pulumi
<!doctype html>
<html lang="en-US" prefix="og: http://ogp.me/ns#">
<head>

MODIFY
azure-ts-serverless-url-shortener-global/index.ts
azure-ts-serverless-url-shortener-global/index.ts
@@ -125,5 +125,5 @@ for (const location of locations) {
}
export const endpoint = profile.fqdn.apply(h => {
- return `http://${h}/api/{key}`;
+ return `http://${h}/api/`;
});

Fix the cosmos readme