Changeset 429d3b0 in Klonkt
- Timestamp:
- 06/26/2026 09:21:31 AM (2 months ago)
- Branches:
- main
- Children:
- 1968592
- Parents:
- 8ef8c3e
- File:
-
- 1 edited
-
scripts/migrate-circles.mjs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
scripts/migrate-circles.mjs
r8ef8c3e r429d3b0 13 13 try { 14 14 const r = await fetch(siteUrl, { headers: { Accept: 'application/activity+json' }, redirect: 'manual' }); 15 if (r.status >= 300 && r.status < 400) { const loc = r.headers.get('location'); if (loc) return loc; }15 if (r.status >= 300 && r.status < 400) { const loc = r.headers.get('location'); if (loc) return new URL(loc, siteUrl).href; } 16 16 if (r.ok) return siteUrl; // root already serves the actor 17 17 } catch (e) { /* unreachable */ }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)