Update app id

This commit is contained in:
Mikołaj Pich 2019-02-25 01:33:16 +01:00
parent 072dfe42d6
commit e6aaab5e5c
No known key found for this signature in database
GPG key ID: F62B26E36D4C4BAA
3 changed files with 4 additions and 4 deletions

4
app.js
View file

@ -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) {
if (null !== document.querySelector(".button-container--list")) return;
var json = JSON.parse(res.responseText);
@ -57,7 +57,7 @@ if (null === document.querySelector(".button-container--list")) {
res.onloadend = function () {
if(res.status === 200) {
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);
branch.href = url;

View file

@ -33,7 +33,7 @@
<div class="button-container button-container--list">
<a class="button button--dev dev-button"
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
<p class="button__info">
<span class="dev-version">Build 0000</span>

View file

@ -49,7 +49,7 @@
<div class="button-container">
<a class="button button--dev dev-button"
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
<p class="button__info">
<span class="dev-version">Build 0000</span>