roles-bot/packages/bot/index.ts
2022-01-02 18:58:59 +01:00

5 lines
No EOL
132 B
TypeScript

import { handleRequest } from './bot';
addEventListener('fetch', (event) => {
event.respondWith(handleRequest(event.request));
});