mdhub/app/application/routes/registry.php

7 lines
335 B
PHP

<?php
use Illuminate\Support\Facades\Route;
Route::get('/v2/auth/', [\App\Http\Controllers\Registry\Version2::class, 'auth'])->middleware(\App\Http\Middleware\RegistryAuth::class);
Route::post('/v2/event/', [\App\Http\Controllers\Registry\Version2::class, 'event'])->middleware(\App\Http\Middleware\RegistryAuthNotification::class);