1
mirror of https://gitlab.com/commento/commento.git synced 2025-06-29 22:56:37 -04:00

frontend: prefix cdn and origin with commento

This commit is contained in:
Adhityaa
2018-06-05 15:31:14 +05:30
parent ee65be7bac
commit d4f617a703
9 changed files with 14 additions and 14 deletions

View File

@ -6,7 +6,7 @@
"session": global.cookieGet("session"),
};
global.post(global.origin + "/api/owner/self", json, function(resp) {
global.post(global.commento_origin + "/api/owner/self", json, function(resp) {
if (!resp.success || !resp.loggedIn) {
document.location = "/login";
return;