Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy-dev2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion src/views/Layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = `<div data-profullstack-footer data-site="${footerOptions.site}" data-tagline="${footerOptions.tagline}" data-links='${JSON.stringify(footerLinks)}'>${footerHtmlSync(footerOptions)}</div><script type="module" src="https://cdn.jsdelivr.net/npm/@profullstack/footer@latest/src/embed.js"></script>`;

export function Layout({ title, description, path = '/', children }) {
Expand Down
Loading