FIX: comentar a linha que serve arquivos estáticos para evitar acesso não autorizado
This commit is contained in:
parent
57e6cb5e1d
commit
0594cebd5a
2
app.js
2
app.js
@ -589,7 +589,7 @@ function createApp() {
|
|||||||
////////////////////////////////////////////////////
|
////////////////////////////////////////////////////
|
||||||
|
|
||||||
// Servir arquivos estáticos (index.html)
|
// Servir arquivos estáticos (index.html)
|
||||||
app.use("/public", express.static(path.join(__dirname, "public")));
|
// app.use("/public", express.static(path.join(__dirname, "public")));
|
||||||
|
|
||||||
// Usa as rotas de autenticação
|
// Usa as rotas de autenticação
|
||||||
app.use("/", authRoutes);
|
app.use("/", authRoutes);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user