Response a HTML by a /nameofhtml in Express


#1

So I wanted to make an server that when a client connects to the server(in my case localhost) it will move send him a specific HTML by the suburl he used, Example: localhost:3000/Hello will response the user with a HTML with the name “Hello”, Is it possible?


#2

Here’s the Express documentation about routing.


#3

Thanks! I really appreciate people helping me <3


#4

No problem. :slight_smile: