diff --git a/CefSharp.Example/CefExample.cs b/CefSharp.Example/CefExample.cs index 1a86b83161..d7eb86921c 100644 --- a/CefSharp.Example/CefExample.cs +++ b/CefSharp.Example/CefExample.cs @@ -155,8 +155,14 @@ public static void Init(AbstractCefSettings settings, IBrowserProcessHandler bro { SchemeName = CefSharpSchemeHandlerFactory.SchemeName, SchemeHandlerFactory = new CefSharpSchemeHandlerFactory(), - IsSecure = true //treated with the same security rules as those applied to "https" URLs - //SchemeHandlerFactory = new InMemorySchemeAndResourceHandlerFactory() + IsSecure = true, //treated with the same security rules as those applied to "https" URLs + }); + + settings.RegisterScheme(new CefCustomScheme + { + SchemeName = "https", + SchemeHandlerFactory = new CefSharpSchemeHandlerFactory(), + DomainName = "cefsharp.example" }); settings.RegisterScheme(new CefCustomScheme