Skip to content

Make OPTIONS handler optional #4

@H0R5E

Description

@H0R5E

Currently, buildRouter requires the function URL for the options handler created by buildOptions.

It might be the case that a user wants to handle the OPTIONS methods within the SSR server itself, therefore the optionsURL argument to buildRouter 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requestfeaturerequires a minor version update

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions