We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c43ae1 commit 6018975Copy full SHA for 6018975
server/src/utils.rs
@@ -247,10 +247,11 @@ pub fn get_address() -> Url {
247
if hostname.starts_with('$') {
248
let var_hostname = hostname[1..].to_string();
249
hostname = get_from_env(&var_hostname);
250
- if !hostname.starts_with("http") {
251
- hostname = format!("{}://{}", CONFIG.parseable.get_scheme(), hostname);
252
- }
253
}
+ if !hostname.starts_with("http") {
+ hostname = format!("{}://{}", CONFIG.parseable.get_scheme(), hostname);
+ }
254
+
255
if port.starts_with('$') {
256
let var_port = port[1..].to_string();
257
port = get_from_env(&var_port);
0 commit comments