Skip to content

Commit

Permalink
chore: rolled back to manifest.json endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Oct 4, 2024
1 parent cf4c8e0 commit 024dd90
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/github/utils/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async function fetchWorkerManifest(url: string): Promise<Manifest | null> {
if (_manifestCache[url]) {
return _manifestCache[url];
}
const manifestUrl = `${url}/manifest`;
const manifestUrl = `${url}/manifest.json`;
try {
const result = await fetch(manifestUrl);
const manifest = decodeManifest(await result.json());
Expand Down
2 changes: 1 addition & 1 deletion tests/events.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ afterAll(() => {
describe("Event related tests", () => {
beforeEach(() => {
server.use(
http.get("https://plugin-a.internal/manifest", () =>
http.get("https://plugin-a.internal/manifest.json", () =>
HttpResponse.json({
name: "plugin",
commands: {
Expand Down
2 changes: 1 addition & 1 deletion tests/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ afterAll(() => {
describe("Worker tests", () => {
beforeEach(() => {
server.use(
http.get("https://plugin-a.internal/manifest", () =>
http.get("https://plugin-a.internal/manifest.json", () =>
HttpResponse.json({
name: "plugin",
commands: {
Expand Down

0 comments on commit 024dd90

Please sign in to comment.