ScratchUtilities / gobo.icu

URL Shortener For Scratch
https://gobo.icu
The Unlicense
13 stars 23 forks source link

Faster redirects #55

Closed space-elephant closed 5 years ago

space-elephant commented 5 years ago

Is your feature request related to a problem? Please describe. Redirect links always load all the stylesheets before redirecting

Describe the solution you'd like I would like to replace the # with a /, and then use a 404.html for redirects. Invalid ones would show the default 404.

Describe alternatives you've considered The homepage could be at homepage.html and the javascript at index.html could redirect to homepage.html when given an empty hash.

Additional context Null

Andreto commented 5 years ago

I think that we should move the homepage to a different folder and have the main index.html blank from elements and styling. That way we don't lock up the 404 pages and we can keep the same code as before. We can have blank and invalid hashes redirect to the home page.

space-elephant commented 5 years ago

I think that we should move the homepage to a different folder and have the main index.html blank from elements and styling. That way we don't lock up the 404 pages and we can keep the same code as before. We can have blank and invalid hashes redirect to the home page.

OK. Should I put the new homepage at /homepage.html or /homepage or /homepage/index.html (/homepage/)

Andreto commented 5 years ago

I think we should make it /home/index.html, the URL looks best that way.