Compare commits
3 Commits
a4465933fa
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| e34c1a1d45 | |||
| 43479bc818 | |||
| 4e221e0bf1 |
@@ -24,11 +24,11 @@ app.use('/api/admin', admin_routes);
|
|||||||
app.use('/api/map', map_routes);
|
app.use('/api/map', map_routes);
|
||||||
|
|
||||||
// Jika folder frontend Anda bernama 'ui'
|
// 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
|
// Mengarahkan pengguna yang mengakses URL kosong langsung ke index.html
|
||||||
app.get('/', (req, res) => {
|
app.get('/', (req, res) => {
|
||||||
res.redirect('/index.html');
|
res.redirect('/portal.html');
|
||||||
});
|
});
|
||||||
|
|
||||||
// Rute rahasia sementara untuk mengunduh database asli dari server publik Coolify
|
// Rute rahasia sementara untuk mengunduh database asli dari server publik Coolify
|
||||||
|
|||||||
@@ -177,7 +177,7 @@
|
|||||||
const json_result = await http_response.json();
|
const json_result = await http_response.json();
|
||||||
|
|
||||||
if (!http_response.ok) throw new Error(json_result.error || 'Gagal menarik data dari server.');
|
if (!http_response.ok) throw new Error(json_result.error || 'Gagal menarik data dari server.');
|
||||||
|
|
||||||
muat_data_ke_tabel_admin(json_result);
|
muat_data_ke_tabel_admin(json_result);
|
||||||
|
|
||||||
} catch (error_sistem) {
|
} catch (error_sistem) {
|
||||||
|
|||||||
+2
-2
@@ -58,7 +58,7 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="pt-6 mt-6 border-t border-slate-100 flex items-center justify-between">
|
<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
|
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>
|
<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>
|
</a>
|
||||||
@@ -91,7 +91,7 @@
|
|||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer class="bg-white border-t border-slate-200 text-center py-6 text-xs font-medium text-slate-400 mt-auto">
|
<footer class="bg-white border-t border-slate-200 text-center py-6 text-xs font-medium text-slate-400 mt-auto">
|
||||||
© 2026 Jurusan Informatika Universitas Tanjungpura. Dibuat dengan dedikasi penuh.
|
© 2026 Jurusan Informatika Universitas Tanjung pura. Dibuat dengan dedikasi penuh.
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user