From e34c1a1d45afa9bef7527f30553d44668e1f90cf Mon Sep 17 00:00:00 2001
From: unknown
Date: Thu, 11 Jun 2026 17:49:54 +0700
Subject: [PATCH] fix : portal page
---
server.js | 2 +-
ui/portal.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/server.js b/server.js
index cd98ce0..290f784 100644
--- a/server.js
+++ b/server.js
@@ -24,7 +24,7 @@ app.use('/api/admin', admin_routes);
app.use('/api/map', map_routes);
// Jika folder frontend Anda bernama 'ui'
-app.use(express.static('ui'));
+app.use(express.static('ui', { index: false }));
// Mengarahkan pengguna yang mengakses URL kosong langsung ke index.html
app.get('/', (req, res) => {
diff --git a/ui/portal.html b/ui/portal.html
index 8164e72..d410d5b 100644
--- a/ui/portal.html
+++ b/ui/portal.html
@@ -58,7 +58,7 @@