You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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. )
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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?
Beta Was this translation helpful? Give feedback.
All reactions