mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-07 13:15:28 +02:00
Bind notFoundGenerator
This commit is contained in:
parent
a0cd8fed83
commit
69ced917f3
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ exports.getModule = class GopherModule extends ServerModule {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
generator = generator || this.notFoundGenerator;
|
generator = generator || this.notFoundGenerator.bind(this);
|
||||||
generator(match, res => {
|
generator(match, res => {
|
||||||
socket.end(`${res}`);
|
socket.end(`${res}`);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue