Lib hinzugefügt, Events Bilder Debug

This commit is contained in:
R40fendt
2025-04-08 17:52:22 +02:00
parent 6687352a7e
commit 6aa7e2c81f
3 changed files with 19 additions and 10 deletions

10
src/ritzenbergenlib.ts Normal file
View File

@@ -0,0 +1,10 @@
export default class RitzenbergenLib {
static get_img(mypath: string) {
if(mypath.startsWith("/")) return "https://bilder.ritzenbergen.de"+mypath;
else return "https://bilder.ritzenbergen.de/"+mypath;
}
static api(path:string){
if(path.startsWith("/")) return "https://api.ritzenbergen.de"+path;
else return "https://api.ritzenbergen.de/"+path;
}
}