diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index 4472dde7b..00fb7bd09 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -797,7 +797,7 @@ define([ var $usage = $('', {'class': 'usage'}).css('width', width+'px'); if ((quota >= 0.8 || alwaysDisplayUpgrade) && data.plan !== "power") { - var origin = encodeURIComponent(window.location.origin); + var origin = encodeURIComponent(window.location.hostname); var $upgradeLink = $('', { href: "https://accounts.cryptpad.fr/#!on=" + origin, rel: "noreferrer noopener",