fix
All checks were successful
/ upload (release) Successful in 1m38s

This commit is contained in:
pavel 2026-02-10 21:53:13 +01:00
commit 25349c33e3
2 changed files with 13 additions and 1 deletions

View file

@ -1,7 +1,7 @@
import { marked } from 'marked'; import { marked } from 'marked';
import DOMPurify from 'dompurify'; import DOMPurify from 'dompurify';
const API_URL = 'http://localhost:3000/api'; const API_URL = '/api';
// These should ideally be environment-specific // These should ideally be environment-specific
const AUTH_CONFIG = { const AUTH_CONFIG = {
issuer: 'https://idm.flegr.me/application/o/bot/', issuer: 'https://idm.flegr.me/application/o/bot/',

12
frontend/vite.config.js Normal file
View file

@ -0,0 +1,12 @@
import { defineConfig } from 'vite';
export default defineConfig({
server: {
proxy: {
'/api': {
target: 'http://localhost:3000',
changeOrigin: true,
}
}
}
});