mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-15 06:27:34 -07:00
Fix: Add missing semicolon
This commit is contained in:
parent
373fd2462c
commit
ec5fda0675
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ function createServer() {
|
||||||
Object.keys(config.https).forEach(k => {
|
Object.keys(config.https).forEach(k => {
|
||||||
certs[k] = fs.readFileSync(config.https[k]);
|
certs[k] = fs.readFileSync(config.https[k]);
|
||||||
});
|
});
|
||||||
certs['allowHTTP1'] = true
|
certs['allowHTTP1'] = true;
|
||||||
return http2.createSecureServer(certs, app.callback());
|
return http2.createSecureServer(certs, app.callback());
|
||||||
} else {
|
} else {
|
||||||
return http.createServer(app.callback());
|
return http.createServer(app.callback());
|
||||||
|
|
Loading…
Reference in a new issue