Website/public/index.php

16 lines
223 B
PHP
Raw Normal View History

2023-03-21 17:23:14 +00:00
<?php
require '../vendor/autoload.php';
require '../helpers.php';
use WillySoft\Route as App;
2023-03-30 21:58:54 +00:00
App::get('/', fn() =>
view('home'));
App::get('/test', fn() =>
view('test'));
2023-03-21 17:23:14 +00:00
http_response_code(404);
view('404');