diff --git a/desktop/angular/src/app/pages/dashboard/dashboard.component.ts b/desktop/angular/src/app/pages/dashboard/dashboard.component.ts index a07893aa..a77317e4 100644 --- a/desktop/angular/src/app/pages/dashboard/dashboard.component.ts +++ b/desktop/angular/src/app/pages/dashboard/dashboard.component.ts @@ -41,7 +41,7 @@ interface News { cards: NewsCard[]; } -const newsResourceIdentifier = "all/intel/portmaster/news.yaml" +const newsResourceIdentifier = "intel/news.yaml" @Component({ selector: 'app-dashboard', diff --git a/service/core/api.go b/service/core/api.go index 6f419ced..b008097b 100644 --- a/service/core/api.go +++ b/service/core/api.go @@ -159,8 +159,8 @@ func registerAPIEndpoints() error { if err := api.RegisterEndpoint(api.Endpoint{ Name: "Get Resource", - Description: "Returns the requested resource from the udpate system", - Path: `updates/get/?{artifact_path:[A-Za-z0-9/\.\-_]{1,255}}/{artifact_name:[A-Za-z0-9\.\-_]{1,255}}`, + Description: "Returns the requested resource from the update system", + Path: `updates/get/{artifact_path:[A-Za-z0-9/\.\-_]{1,255}}/{artifact_name:[A-Za-z0-9\.\-_]{1,255}}`, Read: api.PermitUser, ReadMethod: http.MethodGet, HandlerFunc: getUpdateResource,