ntfy fix
This commit is contained in:
@@ -575,7 +575,7 @@ function App() {
|
||||
return null;
|
||||
}
|
||||
const prefix = (notificationCapabilities.ntfy.topicPrefix || '').replace(/^-+|-+$/g, '');
|
||||
const separator = prefix && sanitizedTopic ? '-' : '';
|
||||
const separator = prefix && sanitizedTopic ? '_' : '';
|
||||
const slug = `${prefix}${separator}${sanitizedTopic}` || sanitizedTopic || prefix;
|
||||
if (!slug) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user