diff --git a/.github/workflows/deploy-dev2.yml b/.github/workflows/deploy-dev2.yml index b3f1ff1..91a1bff 100644 --- a/.github/workflows/deploy-dev2.yml +++ b/.github/workflows/deploy-dev2.yml @@ -53,7 +53,7 @@ jobs: - name: Verify the site answers run: | for i in $(seq 1 10); do - code=$(curl -s -o /dev/null -w '%{http_code}' "https://d3vices.com/healthz" || true) + code=$(curl -s -o /dev/null -w '%{http_code}' "https://d3vices.pwa.pit.world/healthz" || true) case "$code" in 2*|3*|401|403) echo "d3vices.com $code"; exit 0;; esac echo "attempt $i: $code"; sleep 10 done diff --git a/README.md b/README.md index a1915b3..e234141 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ desktop app for Windows, macOS and Linux. bytes that reach the server are the page itself and the network test, which exists precisely to move bytes. -- Live: +- Live: - Licence: MIT ## Why diff --git a/apps/desktop/package.json b/apps/desktop/package.json index 5b05588..ad934dd 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -6,7 +6,7 @@ "description": "Open-source hardware diagnostics for Windows, macOS and Linux.", "license": "MIT", "author": "Profullstack, Inc. ", - "homepage": "https://d3vices.com", + "homepage": "https://d3vices.pwa.pit.world", "main": "src/main.js", "scripts": { "prepare:app": "bun prepare.js", diff --git a/apps/desktop/src/main.js b/apps/desktop/src/main.js index 3f724ac..e15c054 100644 --- a/apps/desktop/src/main.js +++ b/apps/desktop/src/main.js @@ -328,7 +328,7 @@ async function buildMenu(port) { { role: 'help', submenu: [ - { label: 'd3vices.com', click: () => shell.openExternal('https://d3vices.com') }, + { label: 'd3vices.com', click: () => shell.openExternal('https://d3vices.pwa.pit.world') }, { label: 'Source on GitHub', click: () => shell.openExternal('https://github.com/profullstack/d3vices.com'), diff --git a/apps/desktop/src/preload.js b/apps/desktop/src/preload.js index b100e43..042aca4 100644 --- a/apps/desktop/src/preload.js +++ b/apps/desktop/src/preload.js @@ -14,5 +14,5 @@ contextBridge.exposeInMainWorld('d3vices', { openExternal: (url) => ipcRenderer.invoke('d3vices:open-external', url), // The network test must measure a real link, not the loopback server the app // is served from, so on the desktop it is pointed at the public endpoints. - netBase: 'https://d3vices.com', + netBase: 'https://d3vices.pwa.pit.world', }); diff --git a/apps/web/public/.well-known/openaccess.json b/apps/web/public/.well-known/openaccess.json index a1eb323..67d0c33 100644 --- a/apps/web/public/.well-known/openaccess.json +++ b/apps/web/public/.well-known/openaccess.json @@ -1,9 +1,9 @@ { "openaccess": "0.1", "name": "d3vices", - "url": "https://d3vices.com", + "url": "https://d3vices.pwa.pit.world", "operator": "https://logicsrc.com/.well-known/openprofile.md", - "redirect_uris": ["https://d3vices.com/api/v1/openaccess/callback"], + "redirect_uris": ["https://d3vices.pwa.pit.world/api/v1/openaccess/callback"], "jwks": { "keys": [ { @@ -18,6 +18,6 @@ }, "scopes": {}, "honours": ["profullstack.com/all-access"], - "webhooks": "https://d3vices.com/api/v1/openaccess/events", + "webhooks": "https://d3vices.pwa.pit.world/api/v1/openaccess/events", "hubs": ["https://openaccess.logicsrc.com"] } diff --git a/apps/web/public/.well-known/openwebring.json b/apps/web/public/.well-known/openwebring.json index 6ddf838..8ad3f27 100644 --- a/apps/web/public/.well-known/openwebring.json +++ b/apps/web/public/.well-known/openwebring.json @@ -1,6 +1,6 @@ { "openwebring": "0.1", - "site": { "url": "https://d3vices.com/", "name": "d3vices" }, + "site": { "url": "https://d3vices.pwa.pit.world/", "name": "d3vices" }, "made_by": "both", "rings": [{ "ring": "https://rssamplifier.com/ring/profullstack", "slug": "d3vices-com" }] } diff --git a/apps/web/src/components/Layout.jsx b/apps/web/src/components/Layout.jsx index ce6a4ec..3abe3fe 100644 --- a/apps/web/src/components/Layout.jsx +++ b/apps/web/src/components/Layout.jsx @@ -17,7 +17,7 @@ async function ProfullstackFooter() { } return raw( await footerHtml({ - site: 'https://d3vices.com/', + site: 'https://d3vices.pwa.pit.world/', nonce, links: [ { label: 'Desktop app', href: '/download' }, diff --git a/apps/web/src/pit-footer.js b/apps/web/src/pit-footer.js index 41358ab..d91ffd6 100644 --- a/apps/web/src/pit-footer.js +++ b/apps/web/src/pit-footer.js @@ -4,7 +4,7 @@ * serves the last good copy; with no copy at all it renders nothing, so the page * never depends on pit.world being up. */ -const URL_ = 'https://pit.world/snippets/footer.html?site=d3vices.com'; +const URL_ = 'https://pit.world/snippets/footer.html?site=d3vices.pwa.pit.world'; const TTL_MS = 60 * 60 * 1000; let cache = { html: '', fetchedAt: 0 };