Skip to content

Commit 2e37743

Browse files
committed
Updated client config controller to reference updated script name
ref https://linear.app/ghost/issue/PROD-2455 ref TryGhost/Ghost#24985 The `admin-x-activitypub` script has been renamed to just `activitypub` so the client config endpoint should be updated to reflect this change
1 parent 1b11d9a commit 2e37743

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

adr/0002-frontend-backend-versioning.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ Implement a backend-driven frontend configuration endpoint that tells the JS bun
6262
```json
6363
{
6464
"client": {
65-
"name": "admin-x-activitypub",
65+
"name": "activitypub",
6666
"version": "^1.0.0",
67-
"cdnUrl": "https://cdn.jsdelivr.net/ghost/admin-x-activitypub@1/dist/admin-x-activitypub.js"
67+
"cdnUrl": "https://cdn.jsdelivr.net/ghost/activitypub@1/dist/activitypub.js"
6868
}
6969
}
7070
```

src/http/api/client-config.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export class ClientConfigController {
55
@APIRoute('GET', 'client-config', 'stable')
66
async handleGetClientConfig(_ctx: AppContext) {
77
const major = 1;
8-
const name = 'admin-x-activitypub';
8+
const name = 'activitypub';
99
const client = {
1010
name,
1111
version: `^${major}.0.0`,

0 commit comments

Comments
 (0)