Website/public/index.php
2023-03-30 23:58:54 +02:00

16 lines
223 B
PHP

<?php
require '../vendor/autoload.php';
require '../helpers.php';
use WillySoft\Route as App;
App::get('/', fn() =>
view('home'));
App::get('/test', fn() =>
view('test'));
http_response_code(404);
view('404');