Minor changes to support better dynamic JS loading

This commit is contained in:
Dane Everitt 2016-09-30 20:53:08 -04:00
parent 332da79b89
commit 71245cb531
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 4 additions and 4 deletions

View file

@ -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', '.*');