https://serverless-stack.com/ logo
#help
Title
# help
d

David Garcia

06/14/2022, 5:54 PM
Hey, I'm trying to figure out what the default value for
defaultAuthorizer
is for an sst.API if you don't pass one in. Does anyone know? I'm trying to have a ternary based on environment, if my environment is nonprod, would setting the
defaultAuthorizer
to undefined break the deploy process?
f

Frank

06/15/2022, 12:19 AM
Hey @David Garcia, by default all routes are public if authorizers are undefined
3 Views