I am developing an app using D3.js. I was sidetracked for a while, and recently came back to it. Today I found that, though it worked fine in the past, the SVG map in the ap
I had the same issue in our Angular app since we use the
tag.
I added this to the controller:
$scope.basePath = window.location.href;
Then in the template I added the base path to the filter:
Hopefully this helps anyone who's using Angular. Check out this comment in Github for more information: https://github.com/airbnb/lottie-web/issues/360#issuecomment-320243980