fix frontend for new domains

This commit is contained in:
2026-05-06 12:35:29 +02:00
parent 9e4a9e8a52
commit b6624d6ba1
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import type { GiteaRepo, Commit } from '../lib/interfaces/git.interface'
const BASE = import.meta.env.VITE_GIT_BASE || 'https://git.teletype.hu/api/v1'
const BASE = import.meta.env.VITE_GIT_BASE || 'https://git.teletypegames.org/api/v1'
const TOKEN = import.meta.env.WEBAPP_GITEA_TOKEN
function buildHeaders() {
+1 -1
View File
@@ -1,6 +1,6 @@
import type { WikiPage, WikiPageWithContent, WikiPageContent } from '../lib/interfaces/wiki.interface'
const BASE = import.meta.env.VITE_WIKI_BASE || 'https://wiki.teletype.hu'
const BASE = import.meta.env.VITE_WIKI_BASE || 'https://wiki.teletypegames.org'
const TOKEN = import.meta.env.WEBAPP_WIKIJS_TOKEN
function buildHeaders(): Record<string, string> {