Seems like using `$default` can screw up cors sinc...
# sst
t
Seems like using
$default
can screw up cors since it looks like it's routing options requests to it (which in my case fail because it requires auth)
Wonder if we should support specific defaults
GET $default
f
Hey @thdxr, afaik
$default
doesn’t support http method, it’s a built-in catch all route
Try
GET /{proxy+}
t
When I set
$default: "handler"
it applied my authorizer to OPTIONS cors requests
I guess that's intentional
GET /{proxy}+
probably works
f
yeah i’ve seen that.. likely the expected behavior