Skip to content

Commit 1c79ae1

Browse files
committed
Enabled access over http
1 parent 0deb1cb commit 1c79ae1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

routes/web.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
Route::group([
6868
'middleware' => env('REGISTER_AUTH'),
6969
], function () {
70-
URL::forceScheme('https'); # comment to disable https
70+
# URL::forceScheme('https'); # uncomment to force https
7171
Route::get('/studio/index', [UserController::class, 'index'])->name('studioIndex');
7272
Route::get('/studio/add-link', [UserController::class, 'showButtons'])->name('showButtons');
7373
Route::post('/studio/add-link', [UserController::class, 'addLink'])->name('addLink');
@@ -91,7 +91,7 @@
9191
Route::group([
9292
'middleware' => 'admin',
9393
], function () {
94-
URL::forceScheme('https'); # comment to disable https
94+
# URL::forceScheme('https'); # uncomment to force https
9595
Route::get('/panel/index', [AdminController::class, 'index'])->name('panelIndex');
9696
Route::get('/panel/users/{type}', [AdminController::class, 'users'])->name('showUsers');
9797
Route::post('/panel/users/{name?}', [AdminController::class, 'searchUser'])->name('searchUser');

0 commit comments

Comments
 (0)