commit files that were out of view

This commit is contained in:
Jakob Schrettenbrunner 2018-06-04 00:46:24 +02:00
parent 58ad7a4b27
commit 855af7cb4d
3 changed files with 3 additions and 5 deletions

View File

@ -33,7 +33,7 @@
@yield('below-container') @yield('below-container')
@show @show
@section('scripts') @section('scripts')
{!! $asset->js('assets/scripts/bundle.js') !!} {!! $asset->js('assets/scripts/app.js') !!}
@show @show
</body> </body>
</html> </html>

View File

@ -23,7 +23,6 @@ Route::get('/', 'ClientController@index')->name('api.client.index');
Route::group(['prefix' => '/servers/{server}', 'middleware' => [AuthenticateClientAccess::class]], function () { Route::group(['prefix' => '/servers/{server}', 'middleware' => [AuthenticateClientAccess::class]], function () {
Route::get('/', 'Servers\ServerController@index')->name('api.client.servers.view'); Route::get('/', 'Servers\ServerController@index')->name('api.client.servers.view');
Route::get('/utilization', 'Servers\ResourceUtilizationController@index') Route::get('/utilization', 'Servers\ResourceUtilizationController@index')
->middleware(['throttle:20,1'])
->name('api.client.servers.resources'); ->name('api.client.servers.resources');
Route::post('/command', 'Servers\CommandController@index')->name('api.client.servers.command'); Route::post('/command', 'Servers\CommandController@index')->name('api.client.servers.command');

View File

@ -1,7 +1,7 @@
module.exports = { module.exports = {
entry: './resources/assets/scripts/app.js', entry: './resources/assets/scripts/app.js',
output: { output: {
filename: 'webpack.build.js', filename: 'app.js',
}, },
module: { module: {
rules: [ rules: [
@ -21,8 +21,7 @@ module.exports = {
test: /\.js$/, test: /\.js$/,
exclude: /(node_modules|vendor)/, exclude: /(node_modules|vendor)/,
use: [{ use: [{
loader: "babel-loader", loader: "babel-loader"
options: { presets: ['es2015'] }
}] }]
}, },
{ {