Compare commits
4 Commits
v0.1.2-tag
...
version/0.
| Author | SHA1 | Date | |
|---|---|---|---|
| 608608aa56 | |||
| 8bcb2618a2 | |||
| 1433d37afa | |||
| 79b7cfae68 |
@@ -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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "0.1.1",
|
||||
"version": "0.1.3",
|
||||
"name": "77th_eventcalendernotification",
|
||||
"module": "./src/app.ts",
|
||||
"type": "module",
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user