SurfSense/surfsense_desktop/src/modules
CREDO23 d5284b3076 fix(desktop): bind bundled Next.js on localhost to keep window origin stable
Setting HOSTNAME=0.0.0.0 made Next.js standalone canonicalize request.url to
http://0.0.0.0:PORT. The connector OAuth callback's NextResponse.redirect built
its Location from that URL, so navigating it flipped window.location.origin from
http://localhost:PORT to http://0.0.0.0:PORT. The backend CORS allowlist matches
localhost/127.0.0.1 only, blocking every subsequent API call until app restart —
producing the "no internet" / app-down state after connecting any connector.
2026-05-22 19:37:19 +02:00
..
screen-capture Move desktop screen capture into modules/screen-capture and align preload build paths and imports. 2026-04-27 20:39:03 +02:00
active-search-space.ts feat: add active search space management to Electron API and UI 2026-04-07 04:45:48 -07:00
agent-filesystem-tree-watcher.ts feat(filesystem): implement filesystem tree watch functionality using chokidar for real-time updates on local folder changes 2026-04-27 23:08:32 +05:30
agent-filesystem.ts feat(filesystem): introduce support for local openable text file extensions and enhance folder expansion persistence in the UI 2026-04-28 01:12:15 +05:30
analytics.ts feat: implement analytics tracking for desktop app events 2026-04-18 14:35:14 -07:00
auto-launch.ts feat: add auto-launch functionality for desktop app 2026-04-20 12:42:06 -07:00
auto-updater.ts feat: implement analytics tracking for desktop app events 2026-04-18 14:35:14 -07:00
deep-links.ts fix(desktop): recover deep-link URL from argv on win/linux cold start 2026-05-22 18:39:22 +02:00
errors.ts refactor(desktop): extract error handling into modules/errors.ts 2026-03-20 19:44:48 +02:00
folder-watcher.ts feat: implement analytics tracking for desktop app events 2026-04-18 14:35:14 -07:00
general-assist.ts Make General Assist only focus the main window, without region capture. 2026-04-27 18:49:27 +02:00
menu.ts refactor(desktop): extract menu setup into modules/menu.ts 2026-03-20 20:01:13 +02:00
permissions.ts remove dead code: allPermissionsGranted, simulateCopy, pendingSuggestionText, updateSuggestionText 2026-04-03 20:16:23 +02:00
platform.ts feat: enhance keyboard shortcut management and improve app responsiveness 2026-04-07 00:43:40 -07:00
quick-ask.ts Merge pull request #1162 from CREDO23/feat/vision-autocomplete 2026-04-07 14:01:44 -07:00
server.ts fix(desktop): bind bundled Next.js on localhost to keep window origin stable 2026-05-22 19:37:19 +02:00
shortcuts.ts Add Screenshot Assist to stored shortcuts, default to Shift+Space, and migrate legacy autocomplete. 2026-04-27 18:49:36 +02:00
tray.ts feat: add new icon assets for macOS and update tray icon handling 2026-05-19 20:04:37 +05:30
window.ts feat(desktop): emit PostHog events for OAuth redirect intercept and miss 2026-05-22 18:40:06 +02:00