Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ router.all('*', () => new Response('Not Found', { status: 404 }));
export default {
async fetch(request, env, ctx) {
try {
const response = await router.handle(request, env, ctx);
const response = await router.fetch(request, env, ctx);

// If a route returned a plain object, normalize to Response
const normalized = response instanceof Response
Expand Down
2 changes: 1 addition & 1 deletion wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ account_id = "0bc21e3a5a9de1a4cc843be9c3e98121"

# Production route
routes = [
{ pattern = "intel.chitty.cc", custom_domain = true }
{ pattern = "intel.chitty.cc/*", zone_name = "chitty.cc" }
]

# KV Namespaces
Expand Down
Loading