fix frontend for new domains
This commit is contained in:
@@ -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,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> {
|
||||
|
||||
Reference in New Issue
Block a user