Lib hinzugefügt, Events Bilder Debug
This commit is contained in:
10
src/ritzenbergenlib.ts
Normal file
10
src/ritzenbergenlib.ts
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user