smashgg / developer-portal

A place for developers interested in smash.gg's API
MIT License
47 stars 42 forks source link

Force redirect `dev.start.gg/*` to `developer.start.gg/*` #187

Closed tobybaratta closed 1 year ago

tobybaratta commented 1 year ago

Right now, if you go to dev.start.gg, it resolves properly - however, all URLs from that main page are are relative to the basic dev subdomain, and then none of those sites and URLs actually load.

Fix:

  1. Make dev.start.gg force redirect to developer.start.gg. Make all direct URLs to dev.start.gg endpoints automatically redirect properly to the developer.start.gg URLs. IE: If I go to dev.start.gg/explorer, it returns a 308 (Permanent Redirect) to developer.start.gg/explorer.
  2. Make dev.start.gg mirror all of developer.start.gg, so that URLs off the domain actually work.
nathanwelch commented 1 year ago

Hey @tobybaratta do you have a specific link that breaks when doing this? I can't repro. Everything on dev.start.gg seems to work but I might be missing it

tobybaratta commented 1 year ago

I mean, the dev site sometimes is just ded (Discord folk agree) -- screenshot here:

image

Seems like right now the site isn't dead, it just takes a really long time to load any page if they load at all, the theming is broken, but does eventually pages are loading.

nathanwelch commented 1 year ago

Those sound like completely different issues than the original so i'm going to close this and we'll look into those. Thanks!