StaffLDB-Minify (#1)

New staffLDB API Ready to merge

Reviewed-on: #1
This commit is contained in:
Fred Boniface
2023-10-03 21:36:58 +01:00
parent 23e5176db8
commit 41cc0b5ea1
29 changed files with 1740 additions and 2271 deletions

View File

@@ -0,0 +1,9 @@
import { dev } from '$app/environment';
export function getApiUrl() {
if (dev) {
console.info('DEVMODE active, using testing URL');
return 'https://testing.owlboard.info';
}
return 'https://owlboard.info';
}