AO acessar a página principal do orchestator tirar o redireconamento para o https://agen.nitro-cloud

Executado por: Backend Developer
This commit is contained in:
Agents Orchestrator
2026-02-28 14:58:19 +00:00
parent 356411d388
commit 1efffdb92f

View File

@@ -112,6 +112,12 @@ app.use(express.json({
verify: (req, res, buf) => { req.rawBody = buf || Buffer.alloc(0); },
}));
app.use('/hook', hookLimiter, verifyWebhookSignature, hookRouter);
// Serve o app diretamente na raiz — sem landing page intermediária
app.get('/', (req, res) => {
res.sendFile(join(__dirname, 'public', 'app.html'));
});
app.use(express.static(join(__dirname, 'public'), {
etag: true,
setHeaders(res, filePath) {