-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: override traffic to cf #3879
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
9c5f330
to
1ee5266
Compare
path: '/', | ||
maxAge: 1 * 60 * 60, | ||
secure: !isDev, | ||
httpOnly: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sets the override for the next 1 hour
|
||
export const config = { | ||
matcher: [ | ||
'/((?!api|_next/static|_next/image|favicon|manifest.json|robots.txt|android-chrome).*)', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do not override static stuff because they would be requested from cf.daily.dev either way when main document is loaded
Changes
Events
Did you introduce any new tracking events?
Experiment
Did you introduce any new experiments?
Manual Testing
Caution
Please make sure existing components are not breaking/affected by this PR
Preview domain
https://cf-traffic-override.preview.app.daily.dev