mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 04:00:07 +00:00
Changed the name of the custom scheme to "custom" again, in an attempt to put something useful in the "host" portion of the URI.
This commit is contained in:
@@ -2,7 +2,7 @@ namespace CefSharp.Example
|
||||
{
|
||||
internal class CefSharpSchemeHandlerFactory : ISchemeHandlerFactory
|
||||
{
|
||||
public const string SchemeName = "cefsharp";
|
||||
public const string SchemeName = "custom";
|
||||
|
||||
public ISchemeHandler Create()
|
||||
{
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace CefSharp.Example
|
||||
Cef.RegisterJsObject("bound", new BoundObject());
|
||||
}
|
||||
|
||||
public static string DefaultUrl = "cefsharp://home";
|
||||
public static string DefaultUrl = "custom://cefsharp/home";
|
||||
// private static readonly Uri resource_url = new Uri("http://test/resource/load");
|
||||
// private static readonly Uri scheme_url = new Uri("test://test/SchemeTest.html");
|
||||
// private static readonly Uri bind_url = new Uri("test://test/BindingTest.html");
|
||||
|
||||
Reference in New Issue
Block a user