diff --git a/build/webpack.config.js b/build/webpack.config.js index b14b175..7719772 100644 --- a/build/webpack.config.js +++ b/build/webpack.config.js @@ -24,7 +24,7 @@ module.exports = (env, argv) => { output: { path: DIST, filename: '[name].js', - publicPath: '../dist/' + publicPath: './' }, module: { rules: [{ diff --git a/lib/Spot.php b/lib/Spot.php index 4160905..530fb8c 100755 --- a/lib/Spot.php +++ b/lib/Spot.php @@ -188,7 +188,7 @@ class Spot extends Main self::MAIN_PAGE, array( 'language' => $this->oLang->getLanguage(), - 'filepath_js' => self::addTimestampToFilePath('../dist/app.js'), + 'filepath_js' => self::addTimestampToFilePath('app.js'), ), $asPages );