partey_workadventure/pusher/src/Services/AdminService.ts

6 lines
211 B
TypeScript
Raw Normal View History

import { ADMIN_API_URL } from "../Enum/EnvironmentVariable";
import { adminApi } from "./AdminApi";
import { localAdmin } from "./LocalAdmin";
export const adminService = ADMIN_API_URL ? adminApi : localAdmin;