3 ms·
Why does the main product page attempt to connect to a localhost port? It looks like it's trying to hit a socket.io port, but that seems pretty unnecessary for
by Pwntastic 3y ago
Why does the main product page attempt to connect to a localhost port? It looks like it's trying to hit a socket.io port, but that seems pretty unnecessary for a landing page?
- jsunderland323 3y agoIt's testing to see if the daemon is running from the electron app. It uses the connection to the browser for things like sign in and verification and for being able to redirect links into the electron app. https://github.com/florophore/floro-mono/blob/main/packages/common-web/src/pages/common/app_proxy/AppProxyPage.tsx#L125 https://github.com/florophore/floro-mono/blob/main/packages/... The reason it's happening on the landing page is because we use floro for editing the site and testing our changes offline first before pushing.