<XgF>
<kentonv> we'll fix that at some point so it actually stores to disk, maybe backed by sqlite <-- there's a tiny key/value database stashed inside the SQlite source tree called LSM1, interestingly. Keep meaning to play with it
<ill_logic>
@zenhack:matrix.org: I'm going with the proxy at this point. Is the websockets connection necessary for all use cases, or only ones that make outside requests from within the browser?
<isd>
Yeah, it's always necessary -- reason being that currently you need to make powerbox requests client side, so we need some logic there to pass the token back to the server.
<ill_logic>
okay thanks.
<ill_logic>
in that case I'm definitely glad I'm making use of your previous work on this
<ocdtrekkie>
I know the non-proxy method is arguably "better" but from a developer experience standpoint, I think the proxy should probably be the default. We assume sandstorm-http-bridge for the same reason: You could talk directly Capnproto but people don't tend to.
<ill_logic>
could just build the proxy into sandstorm like the bridge? thereby very quickly chagning the API to make outbound requests.
<ill_logic>
We don't have any prior knowledge of Caddy being worse than Nginx for Sandstorm do we? Just making sure I'm not wasting my time.
<isd>
Not that I know of
<ocdtrekkie>
In my ideal world, yeah, we could just add the proxy to an app and tell the developer where to point their requests at. Though I think ideally I'd want the developer to request it be included, since many apps don't/shouldn't need it, and people should think hard about the need for external network requests.
<ill_logic>
I got to this weird state where I can successfully curl through caddy to my app from within the launcher script but it doesn't show up in the browser. If I change the port within pkgdef to the one used by my app, the app shows up in the browser.
<ocdtrekkie>
The day an app intentionally opens a powerbox request to connect to Firebase I will truly and actually lose my sanity.
<ill_logic>
Any idea what might cause this? Can I debug the bridge or something?
<ocdtrekkie>
Anything in sandstorm.log if not in grain log?