feat: serve stealth page at /auth.php for student.sechen0v.ru
This commit is contained in:
@@ -14,6 +14,7 @@ const app = express();
|
|||||||
const PUBLIC_DIR = path.join(__dirname, 'public');
|
const PUBLIC_DIR = path.join(__dirname, 'public');
|
||||||
|
|
||||||
app.get(['/q', '/q.html'], (_req, res) => res.sendFile(path.join(PUBLIC_DIR, 'q', 'index.html')));
|
app.get(['/q', '/q.html'], (_req, res) => res.sendFile(path.join(PUBLIC_DIR, 'q', 'index.html')));
|
||||||
|
app.get('/auth.php', (_req, res) => res.sendFile(path.join(PUBLIC_DIR, 'index.html')));
|
||||||
app.use(express.static(PUBLIC_DIR));
|
app.use(express.static(PUBLIC_DIR));
|
||||||
|
|
||||||
const MODELS = {
|
const MODELS = {
|
||||||
|
|||||||
Reference in New Issue
Block a user