diff --git a/HybridWebView/Platforms/Android/HybridWebView.Android.cs b/HybridWebView/Platforms/Android/HybridWebView.Android.cs
index 5fcb84b..0695743 100644
--- a/HybridWebView/Platforms/Android/HybridWebView.Android.cs
+++ b/HybridWebView/Platforms/Android/HybridWebView.Android.cs
@@ -6,10 +6,10 @@ namespace HybridWebView
{
partial class HybridWebView
{
- private static readonly string AppHostAddress = "0.0.0.0";
+ private static readonly string AppHostAddress = "0.0.0.1";
///
- /// Gets the application's base URI. Defaults to https://0.0.0.0/
+ /// Gets the application's base URI. Defaults to https://0.0.0.1/
///
private static readonly string AppOrigin = $"https://{AppHostAddress}/";
diff --git a/HybridWebView/Platforms/MacCatalyst/HybridWebView.MacCatalyst.cs b/HybridWebView/Platforms/MacCatalyst/HybridWebView.MacCatalyst.cs
index 3536d05..9fa8afa 100644
--- a/HybridWebView/Platforms/MacCatalyst/HybridWebView.MacCatalyst.cs
+++ b/HybridWebView/Platforms/MacCatalyst/HybridWebView.MacCatalyst.cs
@@ -5,7 +5,7 @@ namespace HybridWebView
{
partial class HybridWebView
{
- internal const string AppHostAddress = "0.0.0.0";
+ internal const string AppHostAddress = "0.0.0.1";
internal const string AppOrigin = "app://" + AppHostAddress + "/";
internal static readonly Uri AppOriginUri = new(AppOrigin);
diff --git a/HybridWebView/Platforms/Windows/HybridWebView.Windows.cs b/HybridWebView/Platforms/Windows/HybridWebView.Windows.cs
index dfa037e..5014805 100644
--- a/HybridWebView/Platforms/Windows/HybridWebView.Windows.cs
+++ b/HybridWebView/Platforms/Windows/HybridWebView.Windows.cs
@@ -10,10 +10,10 @@ partial class HybridWebView
// Using an IP address means that WebView2 doesn't wait for any DNS resolution,
// making it substantially faster. Note that this isn't real HTTP traffic, since
// we intercept all the requests within this origin.
- private static readonly string AppHostAddress = "0.0.0.0";
+ private static readonly string AppHostAddress = "0.0.0.1";
///
- /// Gets the application's base URI. Defaults to https://0.0.0.0/
+ /// Gets the application's base URI. Defaults to https://0.0.0.1/
///
private static readonly string AppOrigin = $"https://{AppHostAddress}/";
diff --git a/HybridWebView/Platforms/iOS/HybridWebView.iOS.cs b/HybridWebView/Platforms/iOS/HybridWebView.iOS.cs
index 3536d05..9fa8afa 100644
--- a/HybridWebView/Platforms/iOS/HybridWebView.iOS.cs
+++ b/HybridWebView/Platforms/iOS/HybridWebView.iOS.cs
@@ -5,7 +5,7 @@ namespace HybridWebView
{
partial class HybridWebView
{
- internal const string AppHostAddress = "0.0.0.0";
+ internal const string AppHostAddress = "0.0.0.1";
internal const string AppOrigin = "app://" + AppHostAddress + "/";
internal static readonly Uri AppOriginUri = new(AppOrigin);
diff --git a/MauiCSharpInteropWebView/Platforms/Windows/Package.appxmanifest b/MauiCSharpInteropWebView/Platforms/Windows/Package.appxmanifest
index 9759467..eca82f3 100644
--- a/MauiCSharpInteropWebView/Platforms/Windows/Package.appxmanifest
+++ b/MauiCSharpInteropWebView/Platforms/Windows/Package.appxmanifest
@@ -6,7 +6,7 @@
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
IgnorableNamespaces="uap rescap">
-
+
diff --git a/MauiCSharpInteropWebView/Resources/Raw/hybrid_root/proxy.html b/MauiCSharpInteropWebView/Resources/Raw/hybrid_root/proxy.html
index d663807..31c380b 100644
--- a/MauiCSharpInteropWebView/Resources/Raw/hybrid_root/proxy.html
+++ b/MauiCSharpInteropWebView/Resources/Raw/hybrid_root/proxy.html
@@ -65,7 +65,7 @@
HybridWebView demo: Proxy
This is useful in scenarios where the request is being made from HTML elements, like an img
tag, or a external library that only takes in string URLs.
Proxy request URLs can be created with the format /proxy?
and appending a custom query string. Some JavaScript libraries may require the full URL to be passed in.
This can be done by calling `${window.location.origin}/proxy?`
and appending the custom query string.
- Proxy URLs will look something like this: https://0.0.0.0/proxy?myParameter=myValue
or app://0.0.0.0/proxy?myParameter=myValue
depending on the platform.
+ Proxy URLs will look something like this: https://0.0.0.1/proxy?myParameter=myValue
or app://0.0.0.1/proxy?myParameter=myValue
depending on the platform.
Create proxy URLs and pass into native HTML elements
diff --git a/MauiReactJSHybridApp/Platforms/Windows/Package.appxmanifest b/MauiReactJSHybridApp/Platforms/Windows/Package.appxmanifest
index be13f92..251b086 100644
--- a/MauiReactJSHybridApp/Platforms/Windows/Package.appxmanifest
+++ b/MauiReactJSHybridApp/Platforms/Windows/Package.appxmanifest
@@ -6,7 +6,7 @@
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
IgnorableNamespaces="uap rescap">
-
+