Comments (2)
Duplicate routes are usually a sign of incorrect or buggy behavior as the user is free to route the request to any upstream functions or logic from the sole route handler.
If you would like to disable this behavior, you can fork and remove the following snippet: https://github.com/kartikk221/hyper-express/blob/master/src/components/Server.js#L370-L375
from hyper-express.
@kartikk221 If while creating server we could pass an option to allow duplicate routes?
from hyper-express.
Related Issues (20)
- crashes when using it with pkg HOT 1
- can't serve port 80 hyper-express reverse proxy nginx HOT 1
- Error: HyperExpress: Server/Router.use() -> Wildcard "*" & ":parameter" prefixed paths are not allowed when binding middlewares or routers using this method. HOT 1
- Throwing error in Middleware causes app to crash HOT 5
- How to read base64 image from multipart HOT 1
- Specify QoS for MQTT syntax HOT 2
- Install hyper-express with PNPM behind a corporate firewall HOT 1
- middleware not executing after request is complete HOT 2
- Path parameter regexp HOT 3
- How to integrate with supertest HOT 1
- uWebSockets.js Adds Node.js 22 support HOT 4
- This version of ยตWS is not compatible with your Node.js build HOT 2
- Is it possible to use hyper-express with Bun? HOT 1
- Router Spread Middleware Execution Order Inconsistency HOT 2
- Http version 1.0 not supported HOT 2
- Streaming big files causes random chunk duplication HOT 15
- Issue in configure a multer middleware. HOT 2
- Socket.IO with hyper-express not working: req.getUrl is not a function
- Make it compatible with Bun. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyper-express.