4
This commit is contained in:
@@ -14,6 +14,9 @@
|
||||
|
||||
use Webman\Route;
|
||||
|
||||
Route::get('/u/{code}', [\app\controller\IndexController::class, 'user']);
|
||||
Route::get('/g/{code}', [\app\controller\IndexController::class, 'group']);
|
||||
|
||||
Route::fallback(function(){
|
||||
$fn = base_path().'/public/index.html';
|
||||
if(file_exists($fn)){
|
||||
|
||||
Reference in New Issue
Block a user