Why?
# sst
a
Why?
f
Hey @Artemiy Davydov, SST has highlevel wrapper around certain frequently used properties for the underlying CDK construct.
So instead of this:
Copy code
new sst.Api(this, "api", {
  httpApi: {
    corsPreflight: ...
  },
});
You can do this:
Copy code
new sst.Api(this, "api", {
  cors: ...
});