feat: update project structure and enhance UI for Edge Proxy Test

- Add .gitignore to exclude api directory
- Remove deprecated api/index.ts file
- Create new public/index.html with improved UI and functionality
- Update package.json build script to copy index.html to dist
- Enhance request handling in index.html with custom headers and presets
- Improve response display with status, time, and size metrics
This commit is contained in:
MythEclipse
2026-05-07 20:26:51 +07:00
parent 9c05003e70
commit a6333750e4
5 changed files with 1062 additions and 167 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
"type": "module",
"private": true,
"scripts": {
"build": "bun build src/index.ts --target=bun --outdir=api",
"build": "bun build src/index.ts --target=bun --outdir=api && mkdir -p dist && cp public/index.html dist/index.html",
"start": "bun run src/index.ts",
"dev": "bun --hot run src/index.ts",
"test": "bun test",