You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
clientImprovements or additions to the web clientenhancementNew feature or requesthelp wantedExtra attention is neededserverImprovements or additions to the server
Is your feature request related to a problem? Please describe.
We have configuration values that the server needs to convey to clients, like the short url. It would be nice if we could avoid a round trip to the server to get config values.
Describe the solution you'd like
When serving index.html, the server should inject some javascript to set config values in a global scope. The client, when loaded by a browser, should then take those values and put them in a vuex store.
I've looked into this a little more, this is going to take a lot of effort, and it's somewhat unclear how vite will play into all of this. I don't currently see a way forward with this without rewriting the frontend to do proper SSR.
clientImprovements or additions to the web clientenhancementNew feature or requesthelp wantedExtra attention is neededserverImprovements or additions to the server
Is your feature request related to a problem? Please describe.
We have configuration values that the server needs to convey to clients, like the short url. It would be nice if we could avoid a round trip to the server to get config values.
Describe the solution you'd like
When serving
index.html
, the server should inject some javascript to set config values in a global scope. The client, when loaded by a browser, should then take those values and put them in a vuex store.Additional context
Requires #849
Related: #842
The text was updated successfully, but these errors were encountered: