face-hh / webx

An alternative for the World Wide Web - browse websites such as buss://yippie.rizz made in HTML, CSS and Lua. Custom web browser, custom HTML rendering engine, custom search engine, and more.
Apache License 2.0
1.84k stars 155 forks source link

BUG: <a> links is bugged #180

Closed Timoh5709 closed 3 months ago

Timoh5709 commented 3 months ago

Describe the bug So I made a website using the fonctionnality of pages but when I click on the link, it bug the app resulting in an API 404 error code but when I use the URL bar, it works normally. (In the code it's : <a href="buss://history.fr/french">French History</a>)

To Reproduce Steps to reproduce the behavior:

  1. Go to my site : buss://history.fr
  2. Click on French History in the link's bar
  3. See the error
  4. Go to dingle.it to reload the whole page or else it's impossible to go to the main page (don't know why)
  5. Then go to buss://history.fr/french and see the page (and also links that points to the main page bug)

Expected behavior It should show the page, not an 404 error

Screenshots With the link : image With the URL : image

Desktop

GStudiosX2 commented 3 months ago

Maybe there's something I forgot to change when adding paths?

GStudiosX2 commented 3 months ago

Describe the bug So I made a website using the fonctionnality of pages but when I click on the link, it bug the app resulting in an API 404 error code but when I use the URL bar, it works normally. (In the code it's : <a href="buss://history.fr/french">French History</a>)

To Reproduce Steps to reproduce the behavior:

  1. Go to my site : buss://history.fr
  2. Click on French History in the link's bar
  3. See the error
  4. Go to dingle.it to reload the whole page or else it's impossible to go to the main page (don't know why)
  5. Then go to buss://history.fr/french and see the page (and also links that points to the main page bug)

Expected behavior It should show the page, not an 404 error

Screenshots With the link : image With the URL : image

Desktop

  • OS: Windows 10
  • Version 1.3.0 compiled version

You made a typo on your link lol hisory instead of history

Timoh5709 commented 3 months ago

Yeah lol

Timoh5709 commented 3 months ago

My bad