way to handle all method using export function all() or something #67
Closed
sharmapukar217
started this conversation in
General
Replies: 2 comments 2 replies
-
It works exactly like you describe, the name of the catch all function is |
Beta Was this translation helpful? Give feedback.
2 replies
-
oh i got it. Its working. What I did was default exported instead of named export . |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
is there any existing method to handle all http method in a single place like export function all() {
return new Response("hi, I can be accessed from any http method");
}
Beta Was this translation helpful? Give feedback.
All reactions