Yes, you can change the URL for a dependent resource by adding a configuration entry with the resource's type name as key. For example in Web.config:

1
2
3
4
5
<configuration>
  <appSettings>
    <add key="WebSharper.Google.Maps.Resources.Js" value="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&sensor=true" />
  </appSettings>
</configuration>

or if you're on ASP.NET Core, then in appsettings.json:

1
2
3
4
5
{
  "websharper": {
    "WebSharper.Google.Maps.Resources.Js": "https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&sensor=true"
  }
}
By on 4/12/2018 1:07 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper