feat stuff: push changes

This commit is contained in:
prplwtf 2024-03-02 22:24:07 +01:00
parent 191856a8a6
commit ef057cf8c1
2 changed files with 2 additions and 1 deletions

View file

@ -66,6 +66,7 @@ class RouteServiceProvider extends ServiceProvider
/* Import Blueprint wildcard router */
Route::middleware('blueprint')
->prefix('/extensions')
->group(base_path('routes/blueprint/wildcard.php'));
});
}

View file

@ -2,7 +2,7 @@
foreach (File::allFiles(__DIR__ . '/extensions') as $partial) {
if ($partial->getExtension() == 'php') {
Route::prefix('/extensions'.'/'.basename($partial->getFilename(), '.php'))
Route::prefix('/'.basename($partial->getFilename(), '.php'))
->group(function () use ($partial) {require_once $partial->getPathname();}
);
}