fix(web): Support http:// links
This commit is contained in:
parent
a50a19ab3b
commit
73afa4ce65
1 changed files with 3 additions and 1 deletions
|
|
@ -169,7 +169,9 @@ impl App {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn build_query(definition: &Definition, query: &str) -> String {
|
fn build_query(definition: &Definition, query: &str) -> String {
|
||||||
let prefix = if definition.query.starts_with("https://") {
|
let q = definition.query.as_str();
|
||||||
|
|
||||||
|
let prefix = if q.starts_with("https://") || q.starts_with("http://") {
|
||||||
""
|
""
|
||||||
} else {
|
} else {
|
||||||
"https://"
|
"https://"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue