|
@@ -86,7 +86,7 @@ pub(crate) struct PatternJavascript {
|
|
|
|
|
|
#[allow(dead_code)]
|
|
#[allow(dead_code)]
|
|
pub(crate) fn format_real_schema(schema: &str) -> String {
|
|
pub(crate) fn format_real_schema(schema: &str) -> String {
|
|
- if cfg!(windows) {
|
|
|
|
|
|
+ if cfg!(windows) || cfg!(target_os = "android") {
|
|
format!("https://{}.localhost", schema)
|
|
format!("https://{}.localhost", schema)
|
|
} else {
|
|
} else {
|
|
format!("{}://localhost", schema)
|
|
format!("{}://localhost", schema)
|