Commit Graph
36 Commits
Author SHA1 Message Date
MythEclipse 751eb083c4 fix: migrate proxy route logic from route.ts to pages/api/proxy.ts 2026-05-07 21:19:20 +07:00
MythEclipse f3ec82cbbf fix: replace stripRelayHeaders with filterHeaders and add BLOCKED_HEADERS set 2026-05-07 21:16:31 +07:00
MythEclipse f2ebba51bb fix: remove commented console log for request headers in Home component 2026-05-07 21:11:44 +07:00
MythEclipse 3fdbaf3ced fix: update .gitignore and tsconfig for Next.js compatibility 2026-05-07 21:09:09 +07:00
MythEclipse 9d1ef77cda fix: update duplex type assertion in buildRelayRequest function 2026-05-07 21:07:39 +07:00
MythEclipse b11763a7ab fix: update devDependencies to include TypeScript and type definitions for React 2026-05-07 21:05:58 +07:00
MythEclipse e553ed3e02 fix: update PostCSS configuration to correctly reference '@tailwindcss/postcss' 2026-05-07 21:04:45 +07:00
MythEclipse 262dbfafbe chore: migrate PostCSS and Tailwind configuration to .mjs format 2026-05-07 21:03:30 +07:00
MythEclipse b0dde3c885 refactor: migrate to Next.js with edge functions and update relay utilities
- Removed old relay utilities and tests, replacing them with a new structure under `src/lib/relay-utils.ts`.
- Implemented a new edge function in `app/api/proxy/route.ts` to handle proxy requests.
- Created a new Next.js layout and page structure for the frontend, including a user interface for testing the proxy.
- Added Tailwind CSS for styling and configured PostCSS.
- Updated TypeScript configuration for better compatibility with Next.js.
- Removed unused files and configurations related to the previous setup.
2026-05-07 20:59:23 +07:00
MythEclipse 4c30f2a6e1 chore: remove index.html and update vercel.json for API routing 2026-05-07 20:45:18 +07:00
MythEclipse db175e6e95 fix: update fetch options to include target URL in buildRelayRequest 2026-05-07 20:43:09 +07:00
MythEclipse cc38b7c7c6 feat: add isAllowedTarget function to validate URL protocols 2026-05-07 20:37:10 +07:00
MythEclipse 9e2f4d39b1 feat: implement API handler for edge runtime with method validation and target normalization 2026-05-07 20:35:18 +07:00
MythEclipse a6333750e4 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
2026-05-07 20:26:51 +07:00
MythEclipse 9c05003e70 fix: remove .vercelignore file 2026-05-07 20:15:27 +07:00
MythEclipse 7df78ad117 fix: remove rewrites configuration from vercel.json 2026-05-07 20:14:43 +07:00
MythEclipse c0bfce3d26 Revert "feat: update build output directory to 'dist' in package.json and set outputDirectory in vercel.json"
This reverts commit cfbc4609b5.
2026-05-07 20:13:41 +07:00
MythEclipse 149a646fea fix: correct typo in comment for allowed methods 2026-05-07 20:08:04 +07:00
MythEclipse 9759d63b38 feat: add index.html for Edge Proxy Relay interface and remove rewrites from vercel.json 2026-05-07 20:03:57 +07:00
MythEclipse 49f50b7aa8 fix: update fetch request URL to use '/api' endpoint 2026-05-07 20:00:43 +07:00
MythEclipse e5de4bbbfb fix: update fetch API endpoint and adjust rewrites in vercel.json 2026-05-07 19:59:34 +07:00
MythEclipse 6f28d18b95 feat: refactor header handling and update module path in package.json 2026-05-07 19:55:39 +07:00
MythEclipse 1b86a33b4e fix: remove functions configuration from vercel.json 2026-05-07 19:54:25 +07:00
MythEclipse 8e0cf9d0f3 fix: update import path for relay-utils and restore functions configuration in vercel.json 2026-05-07 19:53:20 +07:00
MythEclipse 212ce32480 feat: implement Edge Proxy Relay with request handling and header filtering 2026-05-07 19:49:52 +07:00
MythEclipse d8e1e125b1 feat: update vercel.json to restore build and install commands, and adjust routing configuration 2026-05-07 19:46:08 +07:00
MythEclipse 4cf3a520d5 feat: add index.html for Edge Proxy Relay interface with request handling 2026-05-07 19:46:00 +07:00
MythEclipse cfbc4609b5 feat: update build output directory to 'dist' in package.json and set outputDirectory in vercel.json 2026-05-07 19:41:56 +07:00
MythEclipse 2a82012910 feat: simplify vercel.json by removing function configuration and updating bunVersion 2026-05-07 19:39:31 +07:00
MythEclipse 098eabe5bf feat: add 'api' directory to .gitignore and update build script in package.json 2026-05-07 19:32:04 +07:00
MythEclipse c49c1d7441 feat: add schema and bunVersion to vercel.json configuration 2026-05-07 19:28:51 +07:00
MythEclipse 42cf7a89c7 feat: add function configuration for Bun runtime in vercel.json 2026-05-07 19:26:05 +07:00
MythEclipse b4f5bad19d feat: enhance request handling with method validation and target URL checks 2026-05-07 19:22:28 +07:00
MythEclipse 9448a9cc7a feat: add code-review-graph integration and update project configuration 2026-05-07 19:13:00 +07:00
MythEclipse 86ca59ad8e refactor: restructure project by moving and renaming files, and implementing relay utilities 2026-05-07 19:12:46 +07:00
MythEclipse a4fcbbcca9 initial commit for proxy-bun 2026-05-07 18:42:09 +07:00