Extracting FileController into a Uploader container

This commit is contained in:
David Négrier 2020-12-09 21:29:29 +01:00
parent 25f9662b3c
commit bf797085e6
37 changed files with 4856 additions and 9 deletions

View file

@ -0,0 +1,19 @@
import { parse } from 'query-string';
import { HttpRequest } from 'uWebSockets.js';
import App from './server/app';
import SSLApp from './server/sslapp';
import * as types from './server/types';
const getQuery = (req: HttpRequest) => {
return parse(req.getQuery());
};
export { App, SSLApp, getQuery };
export * from './server/types';
export default {
App,
SSLApp,
getQuery,
...types
};