Skip to content

Commit ce8c4fe

Browse files
committed
ci: add Cloudflare Worker configuration
1 parent 3e50999 commit ce8c4fe

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

src/worker.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export default {
2+
async fetch(request, env) {
3+
return env.ASSETS.fetch(request);
4+
},
5+
};

wrangler.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name = "vsix-guide"
2+
compatibility_date = "2024-12-01"
3+
main = "src/worker.js"
4+
5+
[assets]
6+
directory = "./dist"
7+
binding = "ASSETS"

0 commit comments

Comments
 (0)