server: fix some var regressions
This commit is contained in:
parent
11d2588395
commit
37f3ee0378
2 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ export default class OscUDPServer {
|
|||
|
||||
this.server.on('error', function(e) {
|
||||
if (e.code === 'EADDRINUSE') {
|
||||
console.error(`(ERROR, UDP) could not open port ${oscInPort} (already in use) `)
|
||||
console.error(`(ERROR, UDP) could not open port ${this.port} (already in use) `)
|
||||
} else {
|
||||
console.error('(ERROR, UDP)', e)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -210,7 +210,7 @@ class WebServer extends EventEmitter {
|
|||
id = (req.headers.cookie.match(/client_id=([^;]+)/) || [])[1]
|
||||
}
|
||||
|
||||
resolvedPath = this.resolvePath(decodeURI(url), id)
|
||||
var resolvedPath = this.resolvePath(decodeURI(url), id)
|
||||
|
||||
if (resolvedPath) {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue