How do I Get Rid of the .html extension?
How do I do this on repl.it? I have tried adding a .htaccess file but it doesn't work. Any way to do this?
You can create a folder with the name of the path you want (ex. myhtml) and then insert a file called
index.html inside it (it must have this exact name) with all the html you want. Then when you go to ...repl.co/myhtml it should show the html you put in index.html.
if you mean in the url, you can set up a Node.js http server and handle requests by writing html files to specific urls. for example, if the request has url
link/home, you can write the file
home.html to it