Auslagerung in Components, Verbesserung Embla
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user