mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 07:10:53 +00:00
14 lines
353 B
TypeScript
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;
|