mirror of
https://github.com/dkmstr/openuds.git
synced 2025-03-22 14:50:29 +03:00
Include port number in service base URI of OpenUDS.
This commit is contained in:
parent
8bb9bf11d5
commit
7b86ec97eb
@ -148,7 +148,8 @@ public class ConfigurationService {
|
||||
|
||||
// Build base URI from only the scheme and host of the given URI
|
||||
try {
|
||||
return new URI(uri.getScheme(), uri.getHost(), null, null);
|
||||
return new URI(uri.getScheme(), null, uri.getHost(), uri.getPort(),
|
||||
null, null, null);
|
||||
}
|
||||
catch (URISyntaxException e) {
|
||||
throw new GuacamoleServerException("Failed to derive base URI.", e);
|
||||
|
Loading…
x
Reference in New Issue
Block a user