Quantcast
Channel: ShipRush Support Forums
Viewing all articles
Browse latest Browse all 1680

Javascript SDK in a local environment

$
0
0
I'm trying to use the ShipRush javascript SDK. I don't know if the problem is because I'm on my local environment, but I'm getting a 404 error when including the script/css using the references posted on your guide. The console error shows that it put my local environment's domain in front, http://visuals.local/static.shiprush.com...

Code:

<link href="/static.shiprush.com/ship.app/api/webshipping.integration.client.css" rel='stylesheet' type='text/css' />
<script src="/static.shiprush.com/ship.app/api/webshipping.integration.client.js"></script>

If I try it with http or https, I get ERR_NAME_NOT_RESOLVED.

Code:

<script src="https://static.shiprush.com/ship.app/api/webshipping.integration.client.js"></script>
<link href="https://static.shiprush.com/ship.app/api/webshipping.integration.client.css" rel='stylesheet' type='text/css' />


Viewing all articles
Browse latest Browse all 1680

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>