Created
April 25, 2022 00:59
-
-
Save ChristianOConnor/7b2ab85a888feb05692794349c00d49f to your computer and use it in GitHub Desktop.
Sanitized Cloudflare Worker Tweet Through API Example (index.ts)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { handleRequest } from './handler' | |
addEventListener('fetch', (event) => { | |
event.respondWith(handleRequest(event.request)) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment