replace express with itty router - its 2x faster

This commit is contained in:
Proddy
2023-12-10 14:52:15 +01:00
parent 2629471a56
commit 513d0e982e
7 changed files with 3324 additions and 706 deletions

6
mock-api/server.ts Normal file
View File

@@ -0,0 +1,6 @@
import { handleRequest } from './Handler';
export default {
port: 3080,
fetch: (request) => handleRequest(request)
};