unsa-pis-be/routes/web.php

20 lines
720 B
PHP
Raw Normal View History

2022-06-14 01:21:39 +00:00
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| 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!
|
*/
Route::get('/', function () {
2022-08-09 05:04:46 +00:00
return response()->json(['APP' => 'Sistema Gestor de Calidad de la Escuela de Relaciones Industriales'],200);
});
Route::fallback(function(){
return response()->json(['message' => 'PAGINA NO ENCONTRADA O NO ESTAS AUTORIZADO PARA ESTA PAGINA'], 404);
2022-07-27 05:42:33 +00:00
});