Files
cairnobs/web/vite.config.ts
T
jcoffey-dev db156c4f06
release / release (push) Successful in 7m6s
Cairn OBS
The new Cairn OBS: a self-hosted monitor for networks, hosts and
services. Licensed AGPLv3.
2026-11-14 03:27:09 -07:00

13 lines
355 B
TypeScript

import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
// `npm run dev` serves the UI on :5180 and passes the API to a local obs-beacond.
export default defineConfig({
plugins: [sveltekit()],
server: {
port: 5180,
strictPort: true,
proxy: { '/api': 'http://127.0.0.1:8150', '/auth': 'http://127.0.0.1:8150' }
}
});