Merge branch 'master' into unstable

This commit is contained in:
Yann Stepienik
2024-02-14 13:34:13 +00:00
3 changed files with 11 additions and 9 deletions

View File

@@ -1,3 +1,6 @@
## Version 0.14.5
- Fix an issue with the whitelisting form of URLs
## Version 0.14.4
- Fix issue with the volumes going read only

View File

@@ -73,7 +73,7 @@ const RouteManagement = ({ routeConfig, routeNames, config, TargetContainer, noC
AuthEnabled: routeConfig.AuthEnabled,
HideFromDashboard: routeConfig.HideFromDashboard,
_SmartShield_Enabled: (routeConfig.SmartShield ? routeConfig.SmartShield.Enabled : false),
RestrictToConstellation: routeConfig.RestrictToConstellation,
RestrictToConstellation: routeConfig.RestrictToConstellation === true,
OverwriteHostHeader: routeConfig.OverwriteHostHeader,
WhitelistInboundIPs: routeConfig.WhitelistInboundIPs && routeConfig.WhitelistInboundIPs.join(', '),
}}
@@ -120,18 +120,18 @@ const RouteManagement = ({ routeConfig, routeNames, config, TargetContainer, noC
}}
validate={(values) => {
let commaSepIps = values.WhitelistInboundIPs;
if(commaSepIps && commaSepIps.length) {
values.WhitelistInboundIPs = commaSepIps.split(',').map((ip) => ip.trim());
} else {
values.WhitelistInboundIPs = [];
}
let fullValues = {
...routeConfig,
...values,
}
if(commaSepIps && commaSepIps.length) {
fullValues.WhitelistInboundIPs = commaSepIps.split(',').map((ip) => ip.trim());
} else {
fullValues.WhitelistInboundIPs = [];
}
// check name is unique
if (newRoute && routeNames.includes(fullValues.Name)) {
return { Name: 'Name must be unique' }

View File

@@ -5,7 +5,6 @@
<!-- sponsors -->
<h3 align="center">Thanks to the sponsors:</h3></br>
<p align="center"><a href="https://github.com/DrMxrcy"><img src="https://avatars.githubusercontent.com/DrMxrcy" style="border-radius:48px" width="48" height="48" alt="null" title="null" /></a>
<a href="https://github.com/CupofDalek"><img src="https://avatars.githubusercontent.com/CupofDalek" style="border-radius:48px" width="48" height="48" alt="CupofDalek" title="CupofDalek" /></a>
<a href="https://github.com/BlackrazorNZ"><img src="https://avatars.githubusercontent.com/BlackrazorNZ" style="border-radius:48px" width="48" height="48" alt="null" title="null" /></a>
<a href="https://github.com/DGAzr"><img src="https://avatars.githubusercontent.com/DGAzr" style="border-radius:48px" width="48" height="48" alt="null" title="null" /></a>
<a href="https://github.com/eldergod1800"><img src="https://avatars.githubusercontent.com/eldergod1800" style="border-radius:48px" width="48" height="48" alt="null" title="null" /></a>