fix : portal page
This commit is contained in:
@@ -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) => {
|
||||
|
||||
+1
-1
@@ -58,7 +58,7 @@
|
||||
</p>
|
||||
</div>
|
||||
<div class="pt-6 mt-6 border-t border-slate-100 flex items-center justify-between">
|
||||
<a href="http://e8wwc0wgwsws0w4ggoc8g88g.203.24.51.230.sslip.io/index.html" target="_blank" class="px-4 py-2.5 bg-slate-900 hover:bg-slate-800 text-white text-xs font-bold rounded-xl transition-all shadow-sm flex items-center gap-1">
|
||||
<a href="http://e8wwc0wgwsws0w4ggoc8g88g.203.24.51.230.sslip.io/portal.html" target="_blank" class="px-4 py-2.5 bg-slate-900 hover:bg-slate-800 text-white text-xs font-bold rounded-xl transition-all shadow-sm flex items-center gap-1">
|
||||
Buka Aplikasi
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user