Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@
"@terraformer/wkt": "^2.2.2",
"altcha": "^2.3.0",
"angulartics2": "^12.2.0",
"body-parser": "^1.20.5",
"bootstrap": "^5.3",
"cerialize": "0.1.18",
"cli-progress": "^3.12.0",
Expand Down
3 changes: 1 addition & 2 deletions server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import { LRUCache } from 'lru-cache';
import { isbot } from 'isbot';
import { createCertificate } from 'pem';
import { createServer } from 'https';
import { json } from 'body-parser';
import { createHttpTerminator } from 'http-terminator';

import { readFileSync } from 'fs';
Expand Down Expand Up @@ -134,7 +133,7 @@ export function app() {
* Add JSON parser for request bodies
* See [body-parser](https://github.com/expressjs/body-parser)

@alanorth alanorth Aug 29, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MMilosz this comment should be updated (or simply remove the second line?) to avoid confusion. If you can make a quick PR I will merge it ASAP. Thank you!

*/
server.use(json());
server.use(express.json());

server.engine('ejs', ejs.renderFile);

Expand Down
Loading