File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212use Illuminate \Support \ServiceProvider ;
1313use Pterodactyl \Extensions \Themes \Theme ;
1414use Illuminate \Database \Eloquent \Relations \Relation ;
15+ use Pterodactyl \Providers \Blueprint \RouteServiceProvider ;
1516
1617class AppServiceProvider extends ServiceProvider
1718{
@@ -59,6 +60,9 @@ public function register(): void
5960 // Merge Blueprint configurations with existing configurations.
6061 $ this ->mergeConfigFrom (base_path ('config/ExtensionFS.php ' ), 'filesystems ' );
6162
63+ // Load Blueprint's route service provider.
64+ $ this ->app ->register (RouteServiceProvider::class);
65+
6266 // Only load the settings service provider if the environment
6367 // is configured to allow it.
6468 if (!config ('pterodactyl.load_environment_only ' , false ) && $ this ->app ->environment () !== 'testing ' ) {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments