refactor: replace eslint/prettier with oxlint/oxfmt in admin-dashboard (#109)

Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
2026-04-04 16:16:03 +01:00
committed by GitHub
parent 4097470656
commit bfc25fa704
47 changed files with 2823 additions and 3099 deletions

View File

@@ -2,9 +2,9 @@ const STORAGE_KEY = "aelis-server-url"
const DEFAULT_URL = "https://3000--019cf276-6ed6-7529-a425-210182693908.eu-runner.flex.doptig.cloud"
export function getServerUrl(): string {
return localStorage.getItem(STORAGE_KEY) ?? DEFAULT_URL
return localStorage.getItem(STORAGE_KEY) ?? DEFAULT_URL
}
export function setServerUrl(url: string): void {
localStorage.setItem(STORAGE_KEY, url.replace(/\/+$/, ""))
localStorage.setItem(STORAGE_KEY, url.replace(/\/+$/, ""))
}