diff --git a/core/tauri/src/manager.rs b/core/tauri/src/manager.rs index 416692f55..2db699983 100644 --- a/core/tauri/src/manager.rs +++ b/core/tauri/src/manager.rs @@ -382,9 +382,9 @@ impl WindowManager { } pub(crate) fn protocol_url(&self) -> Cow<'_, Url> { - #[cfg(any(window, target_os = "android"))] + #[cfg(any(windows, target_os = "android"))] return Cow::Owned(Url::parse("https://tauri.localhost").unwrap()); - #[cfg(not(any(window, target_os = "android")))] + #[cfg(not(any(windows, target_os = "android")))] Cow::Owned(Url::parse("tauri://localhost").unwrap()) }