Releases: Update website to use Cloud Storage v1 API

Requests to the v1beta2 API stopped working recently, and the v1 API
has been released. Nothing in the migration notes[1] seems to apply to
us, and the page renders with no JS errors.

[1] https://cloud.google.com/storage/docs/json_api/v1/how-tos/migrate

Change-Id: I59357487f20f8abf3398531eb34a06aa765c6be9
This commit is contained in:
Dave Borowitz 2014-11-21 12:22:59 -08:00
parent f30cfa4c73
commit 70607f21c1
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@
<script>
$.getJSON(
'https://www.googleapis.com/storage/v1beta2/b/gerrit-releases/o?projection=noAcl&fields=items(name%2Csize)&callback=?',
'https://www.googleapis.com/storage/v1/b/gerrit-releases/o?projection=noAcl&fields=items(name%2Csize)&callback=?',
function(data) {
var doc = document;
var frg = doc.createDocumentFragment();