forked from wallabag/wallabag
Remove fixed relative path for assets
This commit is contained in:
@ -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({
|
||||||
|
|||||||
Reference in New Issue
Block a user