server: relative image request resolution (to session-path)
This commit is contained in:
parent
59e2b22a70
commit
ef5fca667f
5 changed files with 35 additions and 8 deletions
|
|
@ -88,6 +88,7 @@ module.exports = {
|
|||
|
||||
module.exports.fileRead(data, clientId, true, (result)=>{
|
||||
|
||||
ipc.clients[clientId].sessionPath = data.path // for resolving local file requests
|
||||
ipc.send('sessionOpen', {path: data.path, session: result}, clientId)
|
||||
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue