diff --git a/isso/js/app/api.js b/isso/js/app/api.js index 64cb887..f93635f 100644 --- a/isso/js/app/api.js +++ b/isso/js/app/api.js @@ -21,7 +21,7 @@ define(["q"], function(Q) { if (js[i].src.match("/js/components/requirejs/require\\.js$")) { endpoint = js[i].src.substring(0, js[i].src.length - 35); break; - } else if (js[i].src.match("/js/embed\\.min\\.js$")) { + } else if (js[i].src.match("/js/(embed|count)\\.min\\.js$")) { endpoint = js[i].src.substring(0, js[i].src.length - 16); break; }