fix: Gitea-API über https://git.digiseed.cloud statt IP-Adresse
This commit is contained in:
@@ -379,8 +379,8 @@
|
|||||||
// SHARED CONSTANTS (copy from index.html)
|
// SHARED CONSTANTS (copy from index.html)
|
||||||
// ============================================================
|
// ============================================================
|
||||||
const APP_VERSION = '1.1.0';
|
const APP_VERSION = '1.1.0';
|
||||||
const GITEA_RAW = 'http://72.60.134.73:3000/api/v1/repos/cheubaum/BNI-Vorstellungsrunde/raw';
|
const GITEA_RAW = 'https://git.digiseed.cloud/api/v1/repos/cheubaum/BNI-Vorstellungsrunde/raw';
|
||||||
const GITEA_API = 'http://72.60.134.73:3000/api/v1/repos/cheubaum/BNI-Vorstellungsrunde';
|
const GITEA_API = 'https://git.digiseed.cloud/api/v1/repos/cheubaum/BNI-Vorstellungsrunde';
|
||||||
const CHAPTER_CONFIG_KEY = 'bni-active-chapter';
|
const CHAPTER_CONFIG_KEY = 'bni-active-chapter';
|
||||||
function giteaUrl(path) { return `${GITEA_RAW}/${path}?ref=main`; }
|
function giteaUrl(path) { return `${GITEA_RAW}/${path}?ref=main`; }
|
||||||
function giteaDataUrl(path) { return `${GITEA_RAW}/${path}?ref=data`; }
|
function giteaDataUrl(path) { return `${GITEA_RAW}/${path}?ref=data`; }
|
||||||
|
|||||||
@@ -1947,8 +1947,8 @@
|
|||||||
// CONSTANTS & CHAPTER CONFIG
|
// CONSTANTS & CHAPTER CONFIG
|
||||||
// ============================================================
|
// ============================================================
|
||||||
const APP_VERSION = '2.1';
|
const APP_VERSION = '2.1';
|
||||||
const GITEA_RAW = 'http://72.60.134.73:3000/api/v1/repos/cheubaum/BNI-Vorstellungsrunde/raw';
|
const GITEA_RAW = 'https://git.digiseed.cloud/api/v1/repos/cheubaum/BNI-Vorstellungsrunde/raw';
|
||||||
const GITEA_API = 'http://72.60.134.73:3000/api/v1/repos/cheubaum/BNI-Vorstellungsrunde';
|
const GITEA_API = 'https://git.digiseed.cloud/api/v1/repos/cheubaum/BNI-Vorstellungsrunde';
|
||||||
function giteaUrl(path) { return `${GITEA_RAW}/${path}?ref=main`; }
|
function giteaUrl(path) { return `${GITEA_RAW}/${path}?ref=main`; }
|
||||||
function giteaDataUrl(path) { return `${GITEA_RAW}/${path}?ref=data`; }
|
function giteaDataUrl(path) { return `${GITEA_RAW}/${path}?ref=data`; }
|
||||||
function giteaAuthUrl(path, token, ref) { return `${GITEA_API}/contents/${path}?token=${encodeURIComponent(token)}${ref ? '&ref=' + ref : ''}`; }
|
function giteaAuthUrl(path, token, ref) { return `${GITEA_API}/contents/${path}?token=${encodeURIComponent(token)}${ref ? '&ref=' + ref : ''}`; }
|
||||||
|
|||||||
Reference in New Issue
Block a user