change url to /package/manifest to reflect latest backend changes
This commit is contained in:
@@ -19,7 +19,7 @@ export class UmbPackageServerDataSource {
|
||||
// TODO: Use real resource when available
|
||||
return tryExecuteAndNotify(
|
||||
this.host,
|
||||
fetch(umbracoPath('/manifests')).then((res) => res.json())
|
||||
fetch(umbracoPath('/package/manifest')).then((res) => res.json())
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ import { rest } from 'msw';
|
||||
import { umbracoPath } from '@umbraco-cms/utils';
|
||||
import type { PagedManifestsResponse } from '@umbraco-cms/models';
|
||||
|
||||
export const manifestDevelopmentHandler = rest.get(umbracoPath('/manifests'), (_req, res, ctx) => {
|
||||
export const manifestDevelopmentHandler = rest.get(umbracoPath('/package/manifest'), (_req, res, ctx) => {
|
||||
return res(
|
||||
// Respond with a 200 status code
|
||||
ctx.status(200),
|
||||
@@ -67,7 +67,7 @@ export const manifestDevelopmentHandler = rest.get(umbracoPath('/manifests'), (_
|
||||
);
|
||||
});
|
||||
|
||||
export const manifestEmptyHandler = rest.get(umbracoPath('/manifests'), (_req, res, ctx) => {
|
||||
export const manifestEmptyHandler = rest.get(umbracoPath('/package/manifest'), (_req, res, ctx) => {
|
||||
return res(
|
||||
// Respond with a 200 status code
|
||||
ctx.status(200),
|
||||
|
||||
Reference in New Issue
Block a user