A simple redirect server utility for local development. Redirects GET requests to localhost URLs while preserving all query parameters.
Start the server:
npm run startVisit http://localhost:3000/http://localhost:8080?foo=bar and it redirects to http://localhost:8080?foo=bar.
Useful when working with OAuth callbacks, webhooks, or other integrations that require redirect URLs during local development. Instead of configuring multiple callback URLs, use this server to redirect to your local development server with query params intact.
- Only
localhostURLs are allowed - Only
http://andhttps://protocols are permitted - Full protocol must be included in the URL path