This commit is contained in:
commie
2026-01-12 12:42:08 +08:00
parent c153975eed
commit 61c5192018
27 changed files with 1283 additions and 112 deletions
+4 -1
View File
@@ -16,9 +16,12 @@ use Webman\Route;
Route::get('/u/{code}', [\app\controller\IndexController::class, 'user']);
Route::get('/g/{code}', [\app\controller\IndexController::class, 'group']);
Route::get('/privacy_policy', [\app\controller\IndexController::class, 'privacy_policy']);
Route::get('/aboutus', [\app\controller\IndexController::class, 'aboutus']);
Route::get('/register/{code}', [\app\controller\CommonController::class, 'register']);
Route::fallback(function(){
$fn = base_path().'/public/index.html';
$fn = 'public/index.html';
if(file_exists($fn)){
return view($fn);
}