Fix daily_summary dan hourly_summary aggregation, tambah fallback logic untuk dashboard, update validator untuk camera dan location type
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"openapi": "3.0.0",
|
||||
"info": {
|
||||
"title": "API Retribusi",
|
||||
"description": "Sistem API Retribusi berbasis Slim Framework 4 untuk infrastruktur pemerintah",
|
||||
"description": "API Retribusi BAPENDA Kabupaten Garut untuk monitoring Retribusi",
|
||||
"version": "1.0.0",
|
||||
"contact": {
|
||||
"name": "BTekno Development Team"
|
||||
|
||||
16
public/router.php
Normal file
16
public/router.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Router script for PHP built-in server
|
||||
* Usage: php -S localhost:8000 router.php
|
||||
*/
|
||||
|
||||
// If the request is for a file that exists, serve it
|
||||
$file = __DIR__ . $_SERVER['REQUEST_URI'];
|
||||
if (file_exists($file) && is_file($file) && $_SERVER['REQUEST_URI'] !== '/') {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Otherwise, route to index.php
|
||||
require __DIR__ . '/index.php';
|
||||
|
||||
Reference in New Issue
Block a user