mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-06-02 21:49:25 +00:00
Infer docusaurus dev server URL from browser (#1294)
Fixes hot reload when running behind the gitpod proxy
This commit is contained in:
parent
f1d6607db2
commit
01b3f5abba
|
@ -169,6 +169,18 @@ module.exports = {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
() => ({
|
||||||
|
name: 'webpack-config',
|
||||||
|
configureWebpack() {
|
||||||
|
return {
|
||||||
|
devServer: {
|
||||||
|
client: {
|
||||||
|
webSocketURL: 'auto://0.0.0.0:0/ws',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
},
|
||||||
|
}),
|
||||||
],
|
],
|
||||||
themes: [
|
themes: [
|
||||||
path.resolve(__dirname, 'plugins', 'woodpecker-plugins', 'dist'),
|
path.resolve(__dirname, 'plugins', 'woodpecker-plugins', 'dist'),
|
||||||
|
|
Loading…
Reference in a new issue