Update app id
This commit is contained in:
parent
072dfe42d6
commit
e6aaab5e5c
3 changed files with 4 additions and 4 deletions
4
app.js
4
app.js
|
@ -34,7 +34,7 @@ if (null === document.querySelector(".button-container--list")) {
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
addButtonInfo("https://bitrise-redirector.herokuapp.com/v0.1/apps/daeff1893f3c8128/builds/master/artifacts/0/info", "dev",
|
addButtonInfo("https://bitrise-redirector.herokuapp.com/v0.1/apps/f841f20d8f8b1dc8/builds/master/artifacts/0/info", "dev",
|
||||||
function(res, button, version, date) {
|
function(res, button, version, date) {
|
||||||
if (null !== document.querySelector(".button-container--list")) return;
|
if (null !== document.querySelector(".button-container--list")) return;
|
||||||
var json = JSON.parse(res.responseText);
|
var json = JSON.parse(res.responseText);
|
||||||
|
@ -57,7 +57,7 @@ if (null === document.querySelector(".button-container--list")) {
|
||||||
res.onloadend = function () {
|
res.onloadend = function () {
|
||||||
if(res.status === 200) {
|
if(res.status === 200) {
|
||||||
JSON.parse(res.responseText).forEach(function (item) {
|
JSON.parse(res.responseText).forEach(function (item) {
|
||||||
var url = "https://bitrise-redirector.herokuapp.com/v0.1/apps/daeff1893f3c8128/builds/" + item.head.ref + "/artifacts/0";
|
var url = "https://bitrise-redirector.herokuapp.com/v0.1/apps/f841f20d8f8b1dc8/builds/" + item.head.ref + "/artifacts/0";
|
||||||
|
|
||||||
var branch = baseCopy.cloneNode(true);
|
var branch = baseCopy.cloneNode(true);
|
||||||
branch.href = url;
|
branch.href = url;
|
||||||
|
|
2
dev.html
2
dev.html
|
@ -33,7 +33,7 @@
|
||||||
<div class="button-container button-container--list">
|
<div class="button-container button-container--list">
|
||||||
<a class="button button--dev dev-button"
|
<a class="button button--dev dev-button"
|
||||||
title="Pobierz wersję DEV"
|
title="Pobierz wersję DEV"
|
||||||
href="https://bitrise-redirector.herokuapp.com/v0.1/apps/daeff1893f3c8128/builds/master/artifacts/0">
|
href="https://bitrise-redirector.herokuapp.com/v0.1/apps/f841f20d8f8b1dc8/builds/master/artifacts/0">
|
||||||
master
|
master
|
||||||
<p class="button__info">
|
<p class="button__info">
|
||||||
<span class="dev-version">Build 0000</span>
|
<span class="dev-version">Build 0000</span>
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
<div class="button-container">
|
<div class="button-container">
|
||||||
<a class="button button--dev dev-button"
|
<a class="button button--dev dev-button"
|
||||||
title="Pobierz wersję DEV"
|
title="Pobierz wersję DEV"
|
||||||
href="https://bitrise-redirector.herokuapp.com/v0.1/apps/daeff1893f3c8128/builds/master/artifacts/0">
|
href="https://bitrise-redirector.herokuapp.com/v0.1/apps/f841f20d8f8b1dc8/builds/master/artifacts/0">
|
||||||
Pobierz wersję DEV
|
Pobierz wersję DEV
|
||||||
<p class="button__info">
|
<p class="button__info">
|
||||||
<span class="dev-version">Build 0000</span>
|
<span class="dev-version">Build 0000</span>
|
||||||
|
|
Loading…
Reference in a new issue