mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-06-02 11:30:35 +02:00
Upgrade banner
This commit is contained in:
parent
a91da7cf2c
commit
3280c2c440
22 changed files with 114 additions and 118 deletions
web/src/components
|
@ -60,7 +60,7 @@ export const useAutoSubscribe = (subscriptions, selected) => {
|
|||
setHasRun(true);
|
||||
const eligible = params.topic && !selected && !disallowedTopic(params.topic);
|
||||
if (eligible) {
|
||||
const baseUrl = (params.baseUrl) ? expandSecureUrl(params.baseUrl) : config.baseUrl;
|
||||
const baseUrl = (params.baseUrl) ? expandSecureUrl(params.baseUrl) : config.base_url;
|
||||
console.log(`[App] Auto-subscribing to ${topicUrl(baseUrl, params.topic)}`);
|
||||
(async () => {
|
||||
const subscription = await subscriptionManager.add(baseUrl, params.topic);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue