From 855af7cb4d24b27c2afd99917191656f109ba864 Mon Sep 17 00:00:00 2001 From: Jakob Schrettenbrunner Date: Mon, 4 Jun 2018 00:46:24 +0200 Subject: [PATCH] commit files that were out of view --- resources/themes/pterodactyl/templates/wrapper.blade.php | 2 +- routes/api-client.php | 1 - webpack.config.js | 5 ++--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/resources/themes/pterodactyl/templates/wrapper.blade.php b/resources/themes/pterodactyl/templates/wrapper.blade.php index b56676dc..2a4ae22c 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 c8bfbc78..aa081501 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 cac8bd7a..dc69972a 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" }] }, {