Is this possible to handle all url in index.html

I am using webassembly to make html pages in .github.io. Is there a way to handled all request on index.html

Thanks

A web page doesn’t “handle requests”. A web server will respond to HTTP requests and a web page is a response to a specific HTTP request.

There are tricks that you can use with JavaScript to make it appear to be navigating through a web application, but that is all happening within the web browser and, to my understanding, no real web requests are being sent.

For more information on these techniques, you may want to consult tutorials on JavaScript web frameworks such as React, Vue, or Angular.

I hope that helps!

1 Like