We've downloaded the "Minimalist app" and are customizing it. We'd like to include map tiles served by sister organization's on-premises ArcGIS Server. But it's on a completely different domain than the "Minimalist" app, necessitating the use of a proxy URL. We've successfully configured the proxy in a different project with code like
<SPAN class="comment token">// Optional array of proxy rules</SPAN>
PROXY_RULES<SPAN class="punctuation token">:</SPAN> <SPAN class="punctuation token">[</SPAN>
<SPAN class="punctuation token">{</SPAN>
urlPrefix<SPAN class="punctuation token">:</SPAN> <SPAN class="string token"><SPAN>"</SPAN><A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.our.org%2Farcgis%2Frest%2Fservices" target="_blank">http://www.our.org/arcgis/rest/services</A><SPAN>"</SPAN></SPAN><SPAN class="punctuation token">,</SPAN>
proxyUrl<SPAN class="punctuation token">:</SPAN> <SPAN class="string token"><SPAN>"</SPAN><A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.our.org%2Fproxy%2Fproxy.ashx" target="_blank">http://www.our.org/proxy/proxy.ashx</A><SPAN>"</SPAN></SPAN>
<SPAN class="punctuation token">}</SPAN>
<SPAN class="punctuation token">]</SPAN><SPAN class="punctuation token">,</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>But the proxy setting for the minimalist app only has one line to specify the proxy, unless I'm missing something:
<SPAN class="string token">"proxyurl"</SPAN><SPAN class="punctuation token">:</SPAN> <SPAN class="string token"><SPAN>"</SPAN><A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.our.org%2Fproxy%2Fproxy.ashx" target="_blank">http://www.our.org/proxy/proxy.ashx</A><SPAN>"</SPAN></SPAN><SPAN class="punctuation token">,</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>
When I attempt to view the map outside of our domain, I get prompted to log in. That indicates that the proxy is not configured correctly.
Suggestions?
Thanks,
Alex