mirror of
https://github.com/trufflesecurity/xsshunter
synced 2025-02-17 13:58:26 +00:00
playing with colors
This commit is contained in:
parent
67e34877c3
commit
779929278e
1 changed files with 3 additions and 0 deletions
3
api.js
3
api.js
|
@ -77,6 +77,7 @@ async function set_up_api_server(app) {
|
|||
// Session management
|
||||
app.use(session_wrapper_function);
|
||||
|
||||
/* lol make this be a thing later TODO
|
||||
// Limit how big uploads are
|
||||
app.use(fileUpload({
|
||||
limits: {
|
||||
|
@ -84,6 +85,8 @@ async function set_up_api_server(app) {
|
|||
},
|
||||
abortOnLimit: true
|
||||
}));
|
||||
*/
|
||||
|
||||
|
||||
// If that's not present, the request should be rejected.
|
||||
app.use(async function(req, res, next) {
|
||||
|
|
Loading…
Add table
Reference in a new issue