openvibers/openvibe.billing Commits
Policy: the terms link goes to openvibe.network/terms (the /legal/terms path does not exist)
Changes
@@@ -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';@@@ -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`);
@@ -11,7 +11,7 @@
@@ -11,7 +11,7 @@
*/
*/
const express = require('express');
const express = require('express');
-const TERMS_URL = 'https://openvibe.network/legal/terms';
+const TERMS_URL = 'https://openvibe.network/terms';
const CONTACT = '[email protected]';
const CONTACT = '[email protected]';
// The date the wording last changed. Rate changes show up on their own (the numbers are live).
// The date the wording last changed. Rate changes show up on their own (the numbers are live).
const WORDING_DATE = '2026-09-26';
const WORDING_DATE = '2026-09-26';
@@ -29,6 +29,7 @@ const { policyData } = require('../server/policy');
@@ -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']) {
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(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`);
r = await fetch(`${t.base}/policy.json`);
assert.deepStrictEqual(await r.json(), JSON.parse(JSON.stringify(d)));
assert.deepStrictEqual(await r.json(), JSON.parse(JSON.stringify(d)));
r = await fetch(`${t.base}/robots.txt`);
r = await fetch(`${t.base}/robots.txt`);