openvibers/openvibe.billing Commits

Policy: the terms link goes to openvibe.network/terms (the /legal/terms path does not exist)

OP OpenVibers committed 26 Sept 2026 · 2bc0cd07ce · 2 files, +2 −1


Changes

ddiff --git a/server/policy.js b/server/policy.js
iindex c503fff..cb2a544 100644
---- a/server/policy.js
++++ b/server/policy.js
@@@ -11,7 +11,7 @@
*/
const express = require('express');
--const TERMS_URL = 'https://openvibe.network/legal/terms';
++const TERMS_URL = 'https://openvibe.network/terms';
const CONTACT = '[email protected]';
// The date the wording last changed. Rate changes show up on their own (the numbers are live).
const WORDING_DATE = '2026-09-26';
ddiff --git a/test/policy.test.js b/test/policy.test.js
iindex 868573a..78a8f11 100644
---- a/test/policy.test.js
++++ b/test/policy.test.js
@@@ -29,6 +29,7 @@ const { policyData } = require('../server/policy');
for (const s of ['$1.50', '$1.10', '33.3%', '9.1%', '$4.99', '31 days', '70%', '$3.49', '500 Vibes ($5.00)', '14 days', '[email protected]', 'openvibe.live keeps the ledger']) {
assert.ok(html.includes(s), `the page says ${s}`);
}
++ assert.ok(html.includes('href="https://openvibe.network/terms"'), 'the terms link is the Network terms page');
r = await fetch(`${t.base}/policy.json`);
assert.deepStrictEqual(await r.json(), JSON.parse(JSON.stringify(d)));
r = await fetch(`${t.base}/robots.txt`);