Warn if push is disabled..
This commit is contained in:
parent
ef10e08efe
commit
412df2cd38
|
@ -32,7 +32,7 @@ def send(notification) do
|
||||||
end
|
end
|
||||||
|
|
||||||
def init(:ok) do
|
def init(:ok) do
|
||||||
if enabled() do
|
if !enabled() do
|
||||||
Logger.warn("""
|
Logger.warn("""
|
||||||
VAPID key pair is not found. If you wish to enabled web push, please run
|
VAPID key pair is not found. If you wish to enabled web push, please run
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue