Add ntfy push and Listmonk newsletter with lightweight Docker deploy tooling.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
6
app/lib/listmonk.ts
Normal file
6
app/lib/listmonk.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export const DEFAULT_LISTMONK_URL = "https://listmonk.nomadro.cn";
|
||||
export const LISTMONK_PROVIDER_LABEL = "Listmonk";
|
||||
|
||||
export function getListmonkUrl(): string {
|
||||
return (process.env.NEXT_PUBLIC_LISTMONK_URL || DEFAULT_LISTMONK_URL).replace(/\/$/, "");
|
||||
}
|
||||
@@ -39,6 +39,7 @@ export interface MeetupSession {
|
||||
displayName: string;
|
||||
videoUrl: string;
|
||||
chatUrl: string;
|
||||
replayUrl?: string;
|
||||
loungeChannel: string;
|
||||
mirotalkRoom: string;
|
||||
meetingProvider: string;
|
||||
|
||||
5
app/lib/ntfy.ts
Normal file
5
app/lib/ntfy.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export const DEFAULT_NTFY_URL = "https://ntfy.nomadro.cn";
|
||||
|
||||
export function getNtfyBaseUrl(): string {
|
||||
return (process.env.NEXT_PUBLIC_NTFY_URL || DEFAULT_NTFY_URL).replace(/\/$/, "");
|
||||
}
|
||||
Reference in New Issue
Block a user