-
Perhaps I'm using the library incorrectly, or unaware of its limitations- but I recently found that I've had to put http-proxy-middleware as the last middleware in my express config.
### Expected b…
-
**Describe the bug**
I've created custom Errors that implement `HttpError` interface from `@map-colonies/error-express-handler`.
For non-async routes, when error is being thrown, the middleware cat…
-
I'm using the mongo-express middleware, I'm starting the server and I can see the UI and list of collections, but when I'm navigating to the collection the page is refreshed and does not navigate to t…
-
IDLE - 4 cpu (free 99%), 16 gb (free 12gb)
```
commit a0de726a471d8662f9841d8c8768c1ef2a31ddb8 (HEAD -> main, tag: v1.9.0, origin/main, origin/HEAD)
Author: github-actions[bot]
Date: Thu Aug …
-
## Description
When a validation fails, the library does this:
`res.status(400).send(...)`
When it should actually do this:
`throw new ZodError(...)`
If not, there's no way of parsing the…
-
### Describe the bug
When a contract defines a DELETE endpoint with no body (#669), the corresponding request handler results in a type of `never`.
### How to reproduce
1. Define contract with DELE…
-
Something like this:
`var express = require('express')
var app = express()
var S3Proxy = require('s3proxy')
const s3proxy = new S3Proxy({ bucket: 's3proxy-public' })
proxy.init()
// load the…
gmoon updated
6 years ago
-
# [Backend] Create Storage Service with Direct File Upload Support
Create an Express-based storage service that handles direct file uploads to Cloudflare R2. We need to create the code of this new …
-
In the installation section of the README:
```
The oauth2-server module is framework-agnostic but there are several officially supported wrappers available for popular HTTP server frameworks such as…
-
I'm trying to create a middleware that redirects me to _dashboard_ whenever the user is logged in. I use the function "_isAuthenticated_" to check whether the user is authenticated or not. The probl…