Make OPTIONS handler optional #4
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
feature
requires a minor version update
Currently,
buildRouter
requires the function URL for the options handler created bybuildOptions
.It might be the case that a user wants to handle the OPTIONS methods within the SSR server itself, therefore the
optionsURL
argument tobuildRouter
should be optional.Note that we could still automate the
ALLOWED_ORIGINS
environment variable to allow users to include it in the SSR server. This variable is poorly documented right now anyway.The text was updated successfully, but these errors were encountered: