I want to use the Directions widget in a custom app. I'm using 4.9. To avoid the prompt to sign in I'm setting up the proxy.
-Tested the DotNet proxy. It works.
-Put in the relevant code as such:
require(["esri/core/urlUtils"], function(urlUtils) {
urlUtils.addProxyRule({
urlPrefix: "route.arcgis.com",
proxyUrl: "https://webapp.willcountyillinois.com/DotNet/proxy.ashx"
});
});
Got the following error on Chrome console. The widget isn't working. Not sure why.