1
0
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:
Lukas 2022-10-19 18:05:29 +02:00 committed by GitHub
parent f1d6607db2
commit 01b3f5abba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'),