From 9fc1a02e38d738b67c0d95ca1d4c68dbd7d60340 Mon Sep 17 00:00:00 2001 From: mileswa1q22 Date: Mon, 24 Aug 2026 17:20:39 -0500 Subject: [PATCH] fixed 404 --- wrangler.jsonc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 wrangler.jsonc diff --git a/wrangler.jsonc b/wrangler.jsonc new file mode 100644 index 0000000..0efbca9 --- /dev/null +++ b/wrangler.jsonc @@ -0,0 +1,15 @@ +{ + // Cloudflare Workers Static Assets configuration. + // Deploys this static portfolio and serves a custom 404 page. + "$schema": "https://raw.githubusercontent.com/cloudflare/workers-sdk/main/packages/wrangler/config-schema.json", + "name": "miles-web", + // Purely static site: no Worker script is needed. + "compatibility_date": "2026-08-24", + "assets": { + // The directory holding the static site. 404.html lives here, + // so the built-in 404-page handling below will pick it up. + "directory": ".", + "not_found_handling": "404-page", + "html_handling": "auto-trailing-slash" + } +} \ No newline at end of file