-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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: vite to allow serve fonts from blocknote and any files from root of workspace #6552
fix: vite to allow serve fonts from blocknote and any files from root of workspace #6552
Conversation
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.
PR Summary
This pull request modifies the Vite configuration to allow serving fonts from the @blocknote package and the workspace root, addressing issue #6546.
- Added
searchForWorkspaceRoot
import from Vite inpackages/twenty-front/vite.config.ts
- Configured server's file system to allow serving from workspace root and @blocknote fonts directory
- Resolved error logs related to Vite's default file serving restrictions
- Maintained security by using a specific allowlist instead of disabling strict mode
- Implemented solution without compromising the project's overall structure
1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
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.
Great thanks!
Log
|
ISSUE
Description