-
Notifications
You must be signed in to change notification settings - Fork 577
fix: resolve data directory persistence between Electron and Web modes #572
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
Closed
Closed
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
4cd84a4
fix: add API proxy to Vite dev server for web mode CORS
DhanushSantosh 7eae021
chore: update package-lock.json
DhanushSantosh 4186b80
fix: use relative URLs in web mode to leverage Vite proxy
DhanushSantosh b8875f7
fix: improve CORS configuration to handle localhost and private IPs
DhanushSantosh e10cb83
debug: add CORS logging to diagnose origin rejection
DhanushSantosh b0b4976
fix: add localhost to CORS_ORIGIN for web mode development
DhanushSantosh fdad82b
fix: enable WebSocket proxying in Vite dev server
DhanushSantosh a7f7898
fix: persist session token to localStorage for web mode page reload s…
DhanushSantosh 174c02c
fix: automatically remove projects with non-existent paths
DhanushSantosh 2a8706e
fix: add session token to image URLs for web mode authentication
DhanushSantosh b66efae
fix: sync projects immediately instead of debouncing
DhanushSantosh 9137f0e
fix: keep localStorage cache in sync with server settings
DhanushSantosh 7b7ac72
fix: use shared data directory for Electron and web modes
DhanushSantosh 832d10e
refactor: replace Loader2 with Spinner component across the application
webdevcody 5b1e010
refactor: standardize PR state representation across the application
Shironex 44e665f
fix: adress pr comments
Shironex 327aef8
Merge pull request #562 from AutoMaker-Org/feature/v0.12.0rc-17686889…
Shironex 484d4c6
fix: use shared data directory for Electron and web modes
DhanushSantosh f378122
fix: resolve data directory persistence between Electron and Web modes
DhanushSantosh 2e57553
Merge remote-tracking branch 'upstream/v0.13.0rc' into patchcraft
DhanushSantosh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The check
hostname.startsWith('172.')for allowing local development origins is too broad. It will match any IP starting with172., including public IP addresses, not just the private range172.16.0.0-172.31.255.255. This could be a security risk by unintentionally allowing connections from outside the local network.Using a more specific check, like a regular expression for the
172.16.0.0/12range, would be safer.