fix: persist engine logout url
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user