mirror of
https://github.com/Myzel394/kleckrelay-website.git
synced 2025-06-24 01:50:30 +02:00
9 lines
232 B
TypeScript
9 lines
232 B
TypeScript
import axios from "axios"
|
|
|
|
import {ServerSettings} from "~/types"
|
|
|
|
export default async function getServerSettings(): Promise<ServerSettings> {
|
|
return (await axios.get(`${import.meta.env.VITE_SERVER_BASE_URL}/settings`))
|
|
.data
|
|
}
|