update: convert to pug
This commit is contained in:
8
router.php
Normal file
8
router.php
Normal file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
if (PHP_SAPI == 'cli-server') {
|
||||
$url = parse_url($_SERVER['REQUEST_URI']);
|
||||
$file = __DIR__ . $url['path'];
|
||||
if (is_file($file)) return false;
|
||||
}
|
||||
include "index.html";
|
Reference in New Issue
Block a user