## https://sploitus.com/exploit?id=40A92C0C-1CA4-51CC-A3D8-BDEB2F231E12
# SRH_XSS_Finder - Deployment Guide for Render
Authorized XSS Assessment Companion & HTTP Request Parser for penetration testers and bug bounty researchers.
## Deployment on Render
This project can be deployed on Render either as a **Static Site** or as a **Node.js Web Service**.
### Option 1: Deploying as a Static Site (Recommended for pure SPAs)
1. Connect your repository to Render.
2. Select **New > Static Site**.
3. Configure settings:
- **Build Command**: `npm install && npm run build`
- **Publish Directory**: `dist`
4. Under **Redirects / Rewrites**, add a rewrite rule for single-page application routing:
- **Source**: `/*`
- **Destination**: `/index.html`
- **Action**: `Rewrite`
---
### Option 2: Deploying as a Web Service (Express Node Server)
1. Connect your repository to Render.
2. Select **New > Web Service**.
3. Configure settings:
- **Runtime**: `Node`
- **Build Command**: `npm install && npm run build`
- **Start Command**: `npm start`
4. Set Environment Variables:
- `NODE_ENV`: `production`
- `PORT`: `10000` (or leave default as Render injects `PORT`)
---
### Option 3: Deploying with Render Blueprint (`render.yaml`)
1. Connect your GitHub / GitLab repository to Render.
2. Select **New > Blueprint**.
3. Render will automatically detect `render.yaml` in the root directory and set up the service.
---
## Local Development & Testing
- **Install dependencies**: `npm install`
- **Development server**: `npm run dev`
- **Production build**: `npm run build`
- **Production preview / start**:
- Web Service server mode: `npm start`
- Vite preview mode: `npm run preview`