Skip to content

Commit 32ec93c

Browse files
committed
cleanup inconsistencies in templates
Signed-off-by: karthik2804 <[email protected]>
1 parent df7a4e5 commit 32ec93c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

templates/http-js/content/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"dependencies": {
1919
"@spinframework/build-tools": "^1.0.1",
20-
"@spinframework/wasi-http-proxy": "1.0.0",
20+
"@spinframework/wasi-http-proxy": "^1.0.1",
2121
"itty-router": "^5.0.18"
2222
}
2323
}

templates/http-js/content/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ let router = AutoRouter();
88
// Any unmatched route will return a 404
99
router
1010
.get("/", () => new Response("hello universe"))
11-
.get('/hello/:name', ({ name }) => `Hello, ${name}!`)
11+
.get("/hello/:name", ({ name }) => `Hello, ${name}!`)
1212

1313
addEventListener('fetch', (event) => {
1414
event.respondWith(router.fetch(event.request));

templates/http-ts/content/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"dependencies": {
2121
"@spinframework/build-tools": "^1.0.1",
22-
"@spinframework/wasi-http-proxy": "1.0.0",
22+
"@spinframework/wasi-http-proxy": "^1.0.1",
2323
"itty-router": "^5.0.18"
2424
}
2525
}

templates/http-ts/content/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ let router = AutoRouter();
88
// Any unmatched route will return a 404
99
router
1010
.get("/", () => new Response("hello universe"))
11-
.get('/hello/:name', ({ name }) => `Hello, ${name}!`)
11+
.get("/hello/:name", ({ name }) => `Hello, ${name}!`)
1212

1313
//@ts-ignore
1414
addEventListener('fetch', (event: FetchEvent) => {

0 commit comments

Comments
 (0)