Update to latest version of .static API
MODIFY
url-shortener/index.ts
url-shortener/index.ts
@@ -3,9 +3,7 @@ import * as cache from "./cache";
let app = new cloud.HttpEndpoint("urlshortener");
-app.staticFile("/", "index.html", "text/html");
-app.staticFile("/favicon.png", "favicon.png", "image/png");
-app.staticFile("/bootstrap.min.css", "bootstrap.min.css", "text/css");
+app.static("/", "www"); // serve all files in the "site-content" directory to the root
let urls = new cloud.Table("urls", "name");

RENAME
url-shortener/bootstrap.min.css
url-shortener/www/bootstrap.min.css
RENAME
url-shortener/favicon.png
url-shortener/www/favicon.png
RENAME
url-shortener/index.html
url-shortener/www/index.html
Update to latest version of .static API