Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

How can we override a behaviours property? #2451

Unanswered
breningham asked this question in Q&A
Discussion options

We are currently using NextJS as a microsite, currently having 2 seperate microsites in nextjs (using the sls-next-cdk stack to deploy it ) with a gatsby main site, using cloudfront behaviours to glue everything together (for now).

currently we are getting CORS errors for static css files. and i cannot find a way to override the static's behaviour to add the relevant responseHeadersPolicy without overriding the entire behaviour.( which i cannot do as we cannot get the s3 bucket before its created. )

Any ideas?

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /