fix: lsp port selection
Fixes #2435
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| marimo-docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Sep 28, 2024 2:54pm |
| marimo-storybook | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Sep 28, 2024 2:54pm |
the fronted needs to know this port as well
I think if we make this refactor, we could change <marimo-server-token to <marimo-server-config that is a dictionary of token, lsp-port, and other config that i can see us needing to add in future.
Thanks to @maxtheman, we know have some code/utils to proxy requests from our main server (https://github.com/marimo-team/marimo/pull/2897). I think it could be worthwhile to use this to proxy to our LSP server instead of passing the port to the frontend