colyseus / uWebSockets-express

Express API compatibility layer for uWebSockets.js
https://npmjs.com/package/uwebsockets-express
MIT License
56 stars 13 forks source link

Allow to access routes via trailing slash #11

Closed endel closed 2 years ago

endel commented 3 years ago

When using app.get("/users/xx"), both URLs should be accessible:

endel commented 2 years ago

Just published uwebsockets-express@1.2.0 with these changes https://github.com/colyseus/uWebSockets-express/pull/13 (now the built-in express router is being used rather than being mocked/mimicked)