diff --git a/.github/workflows/deploy-dev2.yml b/.github/workflows/deploy-dev2.yml index f175ba9..5eff147 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://d1sks.com/healthz" || true) + code=$(curl -s -o /dev/null -w '%{http_code}' "https://d1sks.pwa.pit.world/healthz" || true) case "$code" in 2*|3*|401|403) echo "d1sks.com $code"; exit 0;; esac echo "attempt $i: $code"; sleep 10 done diff --git a/README.md b/README.md index acae736..ebc6b8b 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,9 @@ Disk from here, compute from [c0mpute.com](https://c0mpute.com), the pair from slic3s.com. ``` -curl -s 'https://d1sks.com/api/v1/disks?country=DE&min_gib=500&sort=price' -H 'accept: application/json' -curl -s -X POST https://d1sks.com/api/v1/disks -H 'content-type: application/json' -d '{"url":"https://your-disk.example"}' -curl -s https://d1sks.com/.well-known/openobject.json +curl -s 'https://d1sks.pwa.pit.world/api/v1/disks?country=DE&min_gib=500&sort=price' -H 'accept: application/json' +curl -s -X POST https://d1sks.pwa.pit.world/api/v1/disks -H 'content-type: application/json' -d '{"url":"https://your-disk.example"}' +curl -s https://d1sks.pwa.pit.world/.well-known/openobject.json ``` ## What is in the box diff --git a/src/fetch.js b/src/fetch.js index ea509d0..b691fda 100644 --- a/src/fetch.js +++ b/src/fetch.js @@ -56,7 +56,7 @@ export async function safeFetch( const res = await fetch(current, { headers: { accept: 'application/json', - 'user-agent': 'd1sks.com/0.1 (+https://d1sks.com/docs)', + 'user-agent': 'd1sks.com/0.1 (+https://d1sks.pwa.pit.world/docs)', ...headers, }, redirect: 'manual', diff --git a/src/views/Layout.jsx b/src/views/Layout.jsx index b9b7669..6399eb3 100644 --- a/src/views/Layout.jsx +++ b/src/views/Layout.jsx @@ -13,7 +13,7 @@ const footerLinks = [ { label: 'openserver.json', href: '/.well-known/openserver.json' }, { label: 'Pool API', href: '/api/disks' }, ]; -const footerOptions = { site: 'https://d1sks.com/', tagline: 'MIT licensed', links: footerLinks }; +const footerOptions = { site: 'https://d1sks.pwa.pit.world/', tagline: 'MIT licensed', links: footerLinks }; const footer = `