|
@ -50,8 +50,8 @@ class Dev extends Base { |
|
|
|
|
|
|
|
|
run() { |
|
|
run() { |
|
|
const app = createServer(); |
|
|
const app = createServer(); |
|
|
app.post('/api/save', this.save); |
|
|
app.post('/api/save', this.save.bind(this)); |
|
|
app.get('/api/connect', this.connect); |
|
|
app.get('/api/connect', this.connect.bind(this)); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|