-
Notifications
You must be signed in to change notification settings - Fork 125
Fix ssr #13561
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
Fix ssr #13561
Conversation
|
|
|
||
| [env.release] | ||
| name = "audius-web-ssr-release-candidate" | ||
| vars = { VITE_ENVIRONMENT = "production", DISCOVERY_NODE_ALLOWLIST = [ |
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.
this was actually the only real change I needed, but to test locally w/ node 22, made sense to upgrade other stuff
dylanjeffers
left a comment
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.
goood stuff
| @@ -0,0 +1,15 @@ | |||
| /** | |||
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.
good idea to consolidate
| addEventListener('fetch', (event) => { | ||
| const sentry = | ||
| typeof SENTRY_DSN !== 'undefined' | ||
| export default { |
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.
oh interesting, what's going on here? new wrangler api?
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.
yeah latest version requires different export style
Upgrade wrangler to latest, fix vike server accordingly
Tested by: