mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 14:53:45 +02:00
Minor changes to support better dynamic JS loading
This commit is contained in:
@@ -167,7 +167,7 @@ class ServerRoutes {
|
||||
// Assorted AJAX Routes
|
||||
$router->group(['prefix' => 'js'], function ($server) use ($router) {
|
||||
// Returns Server Status
|
||||
$router->get('{file}', [
|
||||
$router->get('{folder}/{file}', [
|
||||
'as' => 'server.js',
|
||||
'uses' => 'Server\ServerController@getJavascript'
|
||||
])->where('file', '.*');
|
||||
|
||||
Reference in New Issue
Block a user