Updated missed node dependent

This commit is contained in:
Nathan Shively-Sanders 2019-04-20 09:49:57 -07:00
parent 6fc535f32e
commit a819542c41

View File

@ -5,7 +5,7 @@ import { authorize, JwtSecretFuncCallback } from 'socketio-jwt';
const app = http.createServer((req: any, rsp: any) => {
fs.readFile(__dirname + '/index.html',
(err: Error, data: any) => {
(err: Error | null, data: any) => {
if (err) {
rsp.writeHead(500);
return rsp.end('Error loading index.html');