Move assets to /kalamar, although this kills the old deployment. I don't care for the moment.
diff --git a/public/js/translateTable.js b/public/js/translateTable.js
index de3e075..0990622 100644
--- a/public/js/translateTable.js
+++ b/public/js/translateTable.js
@@ -208,7 +208,11 @@
var corpusID = match.getAttribute('data-corpus-id');
var docID = match.getAttribute('data-doc-id');
var matchID = match.getAttribute('data-match-id');
- var url = '/corpus/' + corpusID + '/' + docID + '/' + matchID;
+ var url = '';;
+ if (document.location.pathname.indexOf('kalamar') >= 0) {
+ url = '/kalamar';
+ };
+ url += '/corpus/' + corpusID + '/' + docID + '/' + matchID;
var snippet;
Ajax.getJSON(url, function (res) {