mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-29 20:41:03 +00:00
Remove fixed relative path for assets
This commit is contained in:
parent
887073dedc
commit
e8694faad6
2 changed files with 9 additions and 1 deletions
|
@ -79,6 +79,14 @@ class AppKernel extends Kernel
|
||||||
],
|
],
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$container->loadFromExtension('framework', [
|
||||||
|
'assets' => [
|
||||||
|
'base_url' => $container->getParameter('domain_name'),
|
||||||
|
]
|
||||||
|
]);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,7 @@ module.exports = function () {
|
||||||
output: {
|
output: {
|
||||||
filename: '[name].js',
|
filename: '[name].js',
|
||||||
path: path.resolve(rootDir, 'web/wallassets'),
|
path: path.resolve(rootDir, 'web/wallassets'),
|
||||||
publicPath: '/wallassets/',
|
publicPath: '',
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
new webpack.ProvidePlugin({
|
new webpack.ProvidePlugin({
|
||||||
|
|
Loading…
Reference in a new issue