fix: persist engine logout url

This commit is contained in:
DCCONSTRUCTIONS
2026-05-23 12:20:55 +03:00
parent 2c6efdd116
commit e2c70649c7
3 changed files with 7 additions and 0 deletions
+5
View File
@@ -1960,6 +1960,10 @@ function normalizeService(service) {
service.launchUrl === "https://nodedc.ru/" || service.launchUrl === "https://dev.handhdc.ru/sso/launch"
? "https://engine.nodedc.ru/"
: service.launchUrl,
logoutUrl:
!service.logoutUrl || service.logoutUrl === "https://nodedc.ru/logout"
? "https://engine.nodedc.ru/logout"
: service.logoutUrl,
authentikApplicationSlug: service.authentikApplicationSlug === "nodedc" ? "nodedc-engine" : service.authentikApplicationSlug,
authentikGroupName: service.authentikGroupName === "service-nodedc" ? "nodedc:engine:viewer" : service.authentikGroupName,
};
@@ -2853,6 +2857,7 @@ function sanitizeServicePatch(payload, service) {
"fullDescription",
"url",
"launchUrl",
"logoutUrl",
"iconUrl",
"coverImageUrl",
"coverMediaKind",