A simple unblocked proxy with separated components.
index.html- Main HTML structurestyles.css- CSS stylingapp.js- Client-side JavaScriptserver.js- Node.js backend serverpackage.json- Dependencies
- Install dependencies:
npm install- Start the server:
npm start- Open your browser to:
http://localhost:3000
Enter a URL or search term in the input field and click "Go" or press Enter.
If a preview URL (like *-git-branch-user.vercel.app) works but the main domain (riftedproxies.vercel.app) does not, verify:
- Production Branch is set to the branch with the latest fixes (Project → Settings → Git).
- The latest commit is actually deployed as a Production deployment (Project → Deployments).
riftedproxies.vercel.appis attached to this same Vercel project (Project → Settings → Domains).- If needed, use Promote to Production on a working preview deployment.
This repository uses a catch-all rewrite in vercel.json to send all requests to api/index (which exports the Express app), so routing logic is shared between preview and production.
Use this exact shape and do not mix legacy builds/routes with modern rewrites:
You can also validate this quickly with:
npm run validate:vercel{
"version": 2,
"rewrites": [
{
"source": "/(.*)",
"destination": "/api/index"
}
]
}=======
This repository uses a catch-all route in vercel.json to send all requests to server/server.js, so routing logic is shared between preview and production.