roles-bot/packages/bot/index.ts

5 lines
132 B
TypeScript
Raw Normal View History

2022-01-02 18:54:19 +01:00
import { handleRequest } from './bot';
2021-12-21 11:10:06 +01:00
2021-12-21 12:55:10 +01:00
addEventListener('fetch', (event) => {
2022-01-02 18:54:19 +01:00
event.respondWith(handleRequest(event.request));
});