diff --git a/index.html b/index.html
deleted file mode 100644
index 29dc9b5..0000000
--- a/index.html
+++ /dev/null
@@ -1,545 +0,0 @@
-
-
-
-
-
- Edge Proxy Test
-
-
-
- Edge Proxy Relay Test
- Test your proxy with various endpoints and configurations
-
-
-
Target Configuration
-
-
-
-
- Quick URLs:
-
-
-
-
-
-
-
-
-
-
-
Request Method
-
-
-
-
-
-
-
-
-
-
-
-
-
Request Body (JSON)
-
-
-
-
-
-
-
-
-
Response
-
-
-
-
-
Response will appear here...
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/package.json b/package.json
index ce529df..1dec880 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,5 @@
{
"name": "proxy-bun",
- "module": "api/index.ts",
"type": "module",
"private": true,
"scripts": {
diff --git a/vercel.json b/vercel.json
index b1b3a96..b8e948d 100644
--- a/vercel.json
+++ b/vercel.json
@@ -2,5 +2,16 @@
"$schema": "https://openapi.vercel.sh/vercel.json",
"bunVersion": "1",
"installCommand": "bun install",
- "outputDirectory": "dist"
+ "outputDirectory": "dist",
+ "trailingSlash": false,
+ "rewrites": [
+ {
+ "source": "/api",
+ "destination": "/api/index.ts"
+ },
+ {
+ "source": "/api/(.*)",
+ "destination": "/api/index.ts"
+ }
+ ]
}