diff --git a/resources/themes/pterodactyl/templates/wrapper.blade.php b/resources/themes/pterodactyl/templates/wrapper.blade.php index b56676dc8..2a4ae22c4 100644 --- a/resources/themes/pterodactyl/templates/wrapper.blade.php +++ b/resources/themes/pterodactyl/templates/wrapper.blade.php @@ -33,7 +33,7 @@ @yield('below-container') @show @section('scripts') - {!! $asset->js('assets/scripts/bundle.js') !!} + {!! $asset->js('assets/scripts/app.js') !!} @show diff --git a/routes/api-client.php b/routes/api-client.php index c8bfbc78d..aa0815016 100644 --- a/routes/api-client.php +++ b/routes/api-client.php @@ -23,7 +23,6 @@ Route::get('/', 'ClientController@index')->name('api.client.index'); Route::group(['prefix' => '/servers/{server}', 'middleware' => [AuthenticateClientAccess::class]], function () { Route::get('/', 'Servers\ServerController@index')->name('api.client.servers.view'); Route::get('/utilization', 'Servers\ResourceUtilizationController@index') - ->middleware(['throttle:20,1']) ->name('api.client.servers.resources'); Route::post('/command', 'Servers\CommandController@index')->name('api.client.servers.command'); diff --git a/webpack.config.js b/webpack.config.js index cac8bd7ad..dc69972aa 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,7 +1,7 @@ module.exports = { entry: './resources/assets/scripts/app.js', output: { - filename: 'webpack.build.js', + filename: 'app.js', }, module: { rules: [ @@ -21,8 +21,7 @@ module.exports = { test: /\.js$/, exclude: /(node_modules|vendor)/, use: [{ - loader: "babel-loader", - options: { presets: ['es2015'] } + loader: "babel-loader" }] }, {