mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
20 lines
439 B
TypeScript
20 lines
439 B
TypeScript
import { defaultActivityHandler } from "./handlers/activity-handlers";
|
|
import {
|
|
defaultDeviceHandler,
|
|
defaultDeviceMappingHandler,
|
|
defaultMacAdminsHandler,
|
|
} from "./handlers/device-handler";
|
|
|
|
export const baseUrl = (path: string) => {
|
|
return `/api/latest/fleet${path}`;
|
|
};
|
|
|
|
const handlers = [
|
|
defaultDeviceHandler,
|
|
defaultDeviceMappingHandler,
|
|
defaultMacAdminsHandler,
|
|
defaultActivityHandler,
|
|
];
|
|
|
|
export default handlers;
|