release / release (push) Successful in 7m6s
The new Cairn OBS: a self-hosted monitor for networks, hosts and services. Licensed AGPLv3.
13 lines
355 B
TypeScript
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' }
|
|
}
|
|
});
|