mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 22:11:09 +03:00
Updated output public path to use root
no-issue When installing this module in another project, we want to serve the entire `dist` directory as-is, on whichever path we want, rather than enforicing a /static after the relative part.
This commit is contained in:
parent
b31162b182
commit
3f71eccc77
@ -11,7 +11,7 @@ export default function (config, env, helpers) {
|
||||
});
|
||||
|
||||
if (env.production) {
|
||||
config.output.publicPath = 'static/';
|
||||
config.output.publicPath = '';
|
||||
} else {
|
||||
config.output.publicPath = 'http://localhost:8080/';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user