mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update
This commit is contained in:
parent
417b12768b
commit
87da5846a9
@ -14,7 +14,7 @@ use Illuminate\Http\Request;
|
||||
Route::get('/', function (Request $request) {
|
||||
if (config('v2board.app_url')) {
|
||||
if ($request->server('HTTP_HOST') !== parse_url(config('v2board.app_url'))['host']) {
|
||||
abort(403, 'forbidden');
|
||||
abort(403);
|
||||
}
|
||||
}
|
||||
return view('app', [
|
||||
|
Loading…
Reference in New Issue
Block a user