mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-30 08:06:52 +02: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: [
|
||||
path.resolve(__dirname, 'plugins', 'woodpecker-plugins', 'dist'),
|
||||
|
Loading…
Reference in New Issue
Block a user