8
This commit is contained in:
+4
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user