dart-lang / api.dart.dev

Dart API docs
https://api.dart.dev
BSD 3-Clause "New" or "Revised" License
19 stars 17 forks source link

fix redirects for older dev/stable and be builds #60

Closed keertip closed 8 years ago

keertip commented 8 years ago

closes #59 closes #58

sethladd commented 8 years ago

Is this staged at a new version in App Engine? Will be happy to test it.

keertip commented 8 years ago

Yes, at https://gcs-new-redirects-dot-dartlang-api.appspot.com. Thanks!

sethladd commented 8 years ago

Is this supposed to redirect? https://gcs-new-redirects-dot-dartlang-api.appspot.com/136951/index.html (just checking, because it's not right now)

https://gcs-new-redirects-dot-dartlang-api.appspot.com/135051/index.html is redirecting to https://gcs-new-redirects-dot-dartlang-api.appspot.com/stable/1.15.0/index.html

Is that right? Shouldn't it go to https://gcs-new-redirects-dot-dartlang-api.appspot.com/build/135051/index.html ?

keertip commented 8 years ago

OK, looking at this more closely, 136951 should redirect, while 135051 should go to stable. We will not serve up versions of be older than 136051, as the plan was to delete them so that they do not appear in a search

keertip commented 8 years ago

@sethladd , can you give it another try? Have fixed the issue and also checked some of the urls from the search results.

keertip commented 8 years ago

Have deployed this version. Please open issues with redirects do not work.