patch cider connect renderer issues
This commit is contained in:
parent
3e3c38a25f
commit
69c460ad03
2 changed files with 5 additions and 2 deletions
|
@ -614,8 +614,7 @@ export class BrowserWindow {
|
|||
//region Connect Integration
|
||||
app.get("/connect/set-cc-user/:data", (req, res) => {
|
||||
//utils.getStoreValue('connectUser', JSON.parse()) // [Connect] Save user in store
|
||||
utils.setStoreValue('connectUser', JSON.parse(req.params.data))
|
||||
utils.getWindow().reload()
|
||||
utils.getWindow().webContents.send('setStoreValue', 'connectUser', JSON.parse(req.params.data))
|
||||
res.redirect(`https://connect.cidercollective.dev/linked.html`)
|
||||
});
|
||||
// [Connect] Set auth URL in store for `shell.openExternal`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue