This repository has been archived on 2026-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
ollie-webui/vite.config.ts

19 lines
494 B
TypeScript

import { defineConfig } from 'vite'
import preact from '@preact/preset-vite'
export default defineConfig({
plugins: [preact()],
server: {
proxy: {
'/s/': 'http://localhost:8080',
'/a/': 'http://localhost:8080',
'/m/': 'http://localhost:8080',
'/t/': 'http://localhost:8080',
'/sk/': 'http://localhost:8080',
'/backends': 'http://localhost:8080',
'/open': 'http://localhost:8080',
'/openapi.json': 'http://localhost:8080',
},
},
})