Files
oneuptime/ProbeAPI/Index.ts
Simon Larsen fb6bd6314e Revert "clean up project"
This reverts commit 14f1bbe8b5.
2022-09-27 12:19:01 +01:00

14 lines
353 B
TypeScript

import { ExpressApplication } from 'CommonServer/Utils/Express';
import App from 'CommonServer/Utils/StartServer';
export const APP_NAME: string = 'data-ingestor';
const app: ExpressApplication = App(APP_NAME);
// API
import ProbeAPI from './API/Probe';
// Attach to the app.
app.use([`/${APP_NAME}/probe`, '/probe'], ProbeAPI);
export default app;