Fix: Remove broken getKlausurApiUrl and clean up empty lines
Some checks failed
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-school (push) Successful in 42s
CI / test-go-edu-search (push) Successful in 34s
CI / test-python-klausur (push) Failing after 2m51s
CI / test-python-agent-core (push) Successful in 21s
CI / test-nodejs-website (push) Successful in 29s

sed replacement left orphaned hostname references in story page
and empty lines in getApiBase functions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-04-24 16:02:04 +02:00
parent b07f802c24
commit 9ba420fa91
150 changed files with 30231 additions and 32053 deletions

View File

@@ -17,9 +17,6 @@ interface QAItem {
function getApiBase() {
return '' // Same-origin proxy
}
export default function FlashcardsPage() {

View File

@@ -15,9 +15,6 @@ interface MCQuestion {
function getApiBase() {
return '' // Same-origin proxy
}
export default function QuizPage() {

View File

@@ -7,16 +7,6 @@ import { AudioButton } from '@/components/learn/AudioButton'
function getApiBase() {
return '' // Same-origin proxy
}
function getKlausurApiUrl() {
if (typeof window === 'undefined') return 'http://localhost:8086'
if (hostname === 'localhost') return 'http://localhost:8086'
return `${protocol}//${hostname}/klausur-api`
}
export default function StoryPage() {

View File

@@ -15,9 +15,6 @@ interface QAItem {
function getApiBase() {
return '' // Same-origin proxy
}
export default function TypePage() {

View File

@@ -33,9 +33,6 @@ interface LearningProgressProps {
function getApiBase() {
return '' // Same-origin proxy
}
export function LearningProgress({ isDark, glassCard }: LearningProgressProps) {