6 Commits

Author SHA1 Message Date
ae569b7739 Merge pull request 'Bugfix in sendNotification()' (#6) from version/0.1.3 into main
Reviewed-on: #6
2025-10-27 16:55:12 +00:00
608608aa56 Bugfix in sendNotification()
URL for Post Request returned a 404 because there was a " too much
2025-10-27 17:54:30 +01:00
04ef066158 Merge pull request 'Release Version v0.1.2' (#5) from v0.1.2 into main
Reviewed-on: #5
2025-10-26 20:17:20 +00:00
8bcb2618a2 Release Version v0.1.2 2025-10-26 21:15:23 +01:00
1433d37afa Merge pull request 'dev to main - v0.1.2' (#4) from dev into main
Reviewed-on: #4
2025-10-26 14:22:05 +00:00
79b7cfae68 Merge pull request 'dev v0.1.1' (#3) from dev into main
Reviewed-on: #3
2025-10-24 23:45:46 +00:00
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
services:
app:
image: chiko/77th_eventcalendarntfy:dev
image: chiko/77th_eventcalendarntfy:v0.1.3
build: .
volumes:
- ./data/db:/opt/app/data/db

View File

@@ -1,5 +1,5 @@
{
"version": "0.1.1",
"version": "0.1.3",
"name": "77th_eventcalendernotification",
"module": "./src/app.ts",
"type": "module",

View File

@@ -7,7 +7,7 @@ export async function sendNotification(title: string, body: string, link?: strin
}
});
if ( ! ( process.env.notification_mock == "true" ) ) {
const response = await fetch(`${ process.env.apprise_https == "true" ? "https" : "http"}://${process.env.apprise_host ? process.env.apprise_host : "apprise"}:${process.env.apprise_port ? String(process.env.apprise_port) : "80" }/notify"`, {
const response = await fetch(`${ process.env.apprise_https == "true" ? "https" : "http"}://${process.env.apprise_host ? process.env.apprise_host : "apprise"}:${process.env.apprise_port ? String(process.env.apprise_port) : "80" }/notify`, {
method: "POST",
headers: {
"Content-Type": "application/json"