mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
[misc] Router: prefix the publicId with 'P.' for easy differentiation
This commit is contained in:
parent
c6d08647c7
commit
32af7001fc
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ module.exports = Router =
|
|||
return
|
||||
|
||||
# send positive confirmation that the client has a valid connection
|
||||
client.publicId = base64id.generateId()
|
||||
client.publicId = 'P.' + base64id.generateId()
|
||||
client.emit("connectionAccepted", null, client.publicId)
|
||||
|
||||
metrics.inc('socket-io.connection')
|
||||
|
|
Loading…
Reference in a new issue