2019-05-14 07:52:49 +00:00
|
|
|
<?php
|
|
|
|
|
2020-08-23 01:37:08 +00:00
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
|
2021-12-03 02:36:25 +00:00
|
|
|
use App\Http\Controllers\HomeController;
|
|
|
|
use App\Http\Controllers\Auth\LoginController;
|
|
|
|
|
2019-05-14 07:52:49 +00:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Web Routes
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Here is where you can register web routes for your application. These
|
|
|
|
| routes are loaded by the RouteServiceProvider within a group which
|
|
|
|
| contains the "web" middleware group. Now create something great!
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2020-09-20 13:29:22 +00:00
|
|
|
Route::group(['prefix' => LaravelLocalization::setLocale()], function() {
|
|
|
|
Auth::routes([
|
|
|
|
'login' => TRUE,
|
|
|
|
'logout' => TRUE,
|
|
|
|
'reset' => FALSE,
|
|
|
|
'confirm' => FALSE,
|
|
|
|
'verify' => FALSE,
|
|
|
|
'register' => FALSE,
|
|
|
|
]);
|
|
|
|
|
2023-01-27 05:29:02 +00:00
|
|
|
Route::get('/',[HomeController::class,'home']);
|
2021-12-03 02:36:25 +00:00
|
|
|
Route::get('info',[HomeController::class,'info']);
|
2021-12-08 12:26:12 +00:00
|
|
|
Route::post('dn',[HomeController::class,'dn_frame']);
|
2023-01-27 08:59:31 +00:00
|
|
|
Route::get('debug',[HomeController::class,'debug']);
|
2020-09-20 13:29:22 +00:00
|
|
|
});
|
|
|
|
|
2021-12-03 02:36:25 +00:00
|
|
|
Route::get('logout',[LoginController::class,'logout']);
|
2020-09-15 12:40:32 +00:00
|
|
|
|
|
|
|
Route::group(['prefix'=>'user'],function() {
|
2021-12-03 02:36:25 +00:00
|
|
|
Route::get('image',[HomeController::class,'user_image']);
|
2020-09-15 12:40:32 +00:00
|
|
|
});
|