mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-11 01:24:46 +02:00
24 lines
684 B
PHP
24 lines
684 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Illuminate\Contracts\View\Factory;
|
|
use Illuminate\Contracts\View\View;
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| GraphQL Routes
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here is where you can register graphql routes for your application. These
|
|
| routes are loaded by the RouteServiceProvider and all of them will
|
|
| be assigned to the "web" middleware group. Make something great!
|
|
|
|
|
*/
|
|
|
|
Route::middleware('web')
|
|
->get('/sandbox', fn (): Factory|View => view('graphql.sandbox', [
|
|
'endpoint' => route('graphql'),
|
|
]));
|