Merge branch 'v2.0' into feature/installer-migration

This commit is contained in:
Alexandr Stelnykovych 2025-03-21 15:41:29 +02:00
commit aada179191
2 changed files with 3 additions and 3 deletions
desktop/angular/src/app/pages/dashboard
service/core

View file

@ -41,7 +41,7 @@ interface News {
cards: NewsCard[];
}
const newsResourceIdentifier = "all/intel/portmaster/news.yaml"
const newsResourceIdentifier = "intel/news.yaml"
@Component({
selector: 'app-dashboard',

View file

@ -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,