[connect] Fixed webview, now why no theme?

This commit is contained in:
child_duckling 2022-04-21 21:28:07 -07:00
parent 31bd64d16a
commit 186e6986ef

View file

@ -528,6 +528,7 @@ export class BrowserWindow {
app.get("/connect/set-cc-user/:data", (req, res) => { app.get("/connect/set-cc-user/:data", (req, res) => {
//utils.getStoreValue('connectUser', JSON.parse()) // [Connect] Save user in store //utils.getStoreValue('connectUser', JSON.parse()) // [Connect] Save user in store
utils.setStoreValue('connectUser', JSON.parse(req.params.data)) utils.setStoreValue('connectUser', JSON.parse(req.params.data))
utils.getWindow().reload()
res.redirect(`https://connect.cidercollective.dev/linked.html`) res.redirect(`https://connect.cidercollective.dev/linked.html`)
}); });
// [Connect] Set auth URL in store for `shell.openExternal` // [Connect] Set auth URL in store for `shell.openExternal`