Skip to content
#

es6-javascript

Here are 2,193 public repositories matching this topic...

tinyhttp
talentlessguy
talentlessguy commented Jun 24, 2021

Describe the bug

When you mount two apps on the same route only the first one works and the other doesn't get reached.

To Reproduce

import { App } from '@tinyhttp/app'

const app = new App(), app1 = new App(), app2 = new App()

app2.use((req, res, next) => {
	console.log('ping')
	res.send('hi from app 2')
})

app1.use((req, res, next) => {
	console.log('pong')
	n

Improve this page

Add a description, image, and links to the es6-javascript topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the es6-javascript topic, visit your repo's landing page and select "manage topics."

Learn more