mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05: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
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ export default function (config, env, helpers) {
|
||||||
});
|
});
|
||||||
|
|
||||||
if (env.production) {
|
if (env.production) {
|
||||||
config.output.publicPath = 'static/';
|
config.output.publicPath = '';
|
||||||
} else {
|
} else {
|
||||||
config.output.publicPath = 'http://localhost:8080/';
|
config.output.publicPath = 'http://localhost:8080/';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue