Auslagerung in Components, Verbesserung Embla

This commit is contained in:
R40fendt
2025-04-16 19:19:41 +02:00
parent 3057988eb0
commit ad8ce7fb67
9 changed files with 442 additions and 347 deletions

View File

@@ -1,10 +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;
if(mypath.startsWith("/")) return "http://bilder.ritzenbergen.de"+mypath;
else return "http://bilder.ritzenbergen.de/"+mypath;
}
static api(path:string){
if(path.startsWith("/")) return "https://api.ritzenbergen.de"+path;
else return "https://api.ritzenbergen.de/"+path;
if(path.startsWith("/")) return "http://api.ritzenbergen.de"+path;
else return "http://api.ritzenbergen.de/"+path;
}
}