change URL to simplecloudnotifier.de

This commit is contained in:
Mike Schwörer 2023-06-18 02:22:29 +02:00
parent 4210af5680
commit 686f89f75d
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
5 changed files with 13 additions and 13 deletions

View File

@ -40,7 +40,7 @@ func NewRouter(app *logic.Application) *Router {
// @title SimpleCloudNotifier API
// @version 2.0
// @description API for SCN
// @host scn.blackforestbytes.com
// @host simplecloudnotifier.de
//
// @tag.name External
// @tag.name API-v1

View File

@ -6,7 +6,7 @@
"contact": {},
"version": "2.0"
},
"host": "scn.blackforestbytes.com",
"host": "simplecloudnotifier.de",
"basePath": "/",
"paths": {
"/": {

View File

@ -681,7 +681,7 @@ definitions:
username:
type: string
type: object
host: scn.blackforestbytes.com
host: simplecloudnotifier.de
info:
contact: {}
description: API for SCN

View File

@ -1,8 +1,8 @@
<div class="highlight"><pre><span></span><span class="ch">#!/usr/bin/env bash</span>
<span class="c1">#</span>
<span class="c1"># Wrapper around SCN ( https://scn.blackforestbytes.com/ )</span>
<span class="c1"># ========================================================</span>
<span class="c1"># Wrapper around SCN ( https://simplecloudnotifier.de/ )</span>
<span class="c1"># ======================================================</span>
<span class="c1">#</span>
<span class="c1"># ./scn_send [@channel] title [content] [priority]</span>
<span class="c1">#</span>
@ -98,7 +98,7 @@ usage<span class="o">()</span><span class="w"> </span><span class="o">{</span>
<span class="w"> </span>--data<span class="w"> </span><span class="s2">&quot;msg_id=</span><span class="nv">$usr_msg_id</span><span class="s2">&quot;</span><span class="w"> </span><span class="se">\</span>
<span class="w"> </span>--data<span class="w"> </span><span class="s2">&quot;channel=</span><span class="nv">$channel</span><span class="s2">&quot;</span><span class="w"> </span><span class="se">\</span>
<span class="w"> </span>--data<span class="w"> </span><span class="s2">&quot;sender_name=</span><span class="nv">$sender</span><span class="s2">&quot;</span><span class="w"> </span><span class="se">\</span>
<span class="w"> </span><span class="s2">&quot;https://scn.blackforestbytes.com/&quot;</span><span class="w"> </span><span class="k">)</span>
<span class="w"> </span><span class="s2">&quot;https://simplecloudnotifier.de/&quot;</span><span class="w"> </span><span class="k">)</span>
<span class="w"> </span><span class="nv">curlout</span><span class="o">=</span><span class="s2">&quot;</span><span class="k">$(</span>cat<span class="w"> </span><span class="s2">&quot;</span><span class="nv">$outf</span><span class="s2">&quot;</span><span class="k">)</span><span class="s2">&quot;</span>
<span class="w"> </span>rm<span class="w"> </span><span class="s2">&quot;</span><span class="nv">$outf</span><span class="s2">&quot;</span>

View File

@ -1,8 +1,8 @@
#!/usr/bin/env bash
#
# Wrapper around SCN ( https://scn.blackforestbytes.com/ )
# ========================================================
# Wrapper around SCN ( https://simplecloudnotifier.de/ )
# ======================================================
#
# ./scn_send [@channel] title [content] [priority]
#
@ -98,7 +98,7 @@ while true ; do
--data "msg_id=$usr_msg_id" \
--data "channel=$channel" \
--data "sender_name=$sender" \
"https://scn.blackforestbytes.com/" )
"https://simplecloudnotifier.de/" )
curlout="$(cat "$outf")"
rm "$outf"