|
|
|
|
|
by pistoriusp
389 days ago
|
|
Nope! They just return standard JavaScript. A typical worker looks something like this: export default {
fetch({ request }) {
return new Response('ok')
}
}
DefineApp just wraps that initial entry point into something that allows us to run middleware, match the router, and render out the page or the response object.Love that you're a fan! Remember... No magicians allowed here. |
|