mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
Fix hotloading (#1209)
This commit is contained in:
parent
8ea29584b0
commit
d841ca7c62
3 changed files with 8 additions and 2 deletions
|
@ -45,7 +45,7 @@ class Application extends IlluminateApplication
|
|||
|
||||
if (isset($manifest[$file])) {
|
||||
return file_exists(public_path('public/hot'))
|
||||
? "http://localhost:8080{$manifest[$file]}"
|
||||
? "http://localhost:8080/public{$manifest[$file]}"
|
||||
: $this->staticUrl("public{$manifest[$file]}");
|
||||
}
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit ecbad3cb179eaf8aa23f189bbfac54b4c571c1df
|
||||
Subproject commit c3a4c680b97b078ab19ae8dc27d4f53c1df93840
|
|
@ -9,6 +9,12 @@ mix.webpackConfig({
|
|||
output: {
|
||||
chunkFilename: mix.config.inProduction ? 'js/[name].[chunkhash].js' : 'js/[name].js',
|
||||
publicPath: '/public/'
|
||||
},
|
||||
devServer: {
|
||||
port: 8080,
|
||||
proxy: {
|
||||
'/': 'http://127.0.0.1:8000/'
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue