mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 11:01:04 +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: {
|
||||
filename: '[name].js',
|
||||
path: path.resolve(rootDir, 'web/wallassets'),
|
||||
publicPath: '/wallassets/',
|
||||
publicPath: '',
|
||||
},
|
||||
plugins: [
|
||||
new webpack.ProvidePlugin({
|
||||
|
|
Loading…
Reference in a new issue