2
0
mirror of https://github.com/ad1217/PrinterStatus synced 2024-09-21 13:49:04 -04:00
PrinterStatus/vite.config.ts
2021-10-28 01:06:08 -04:00

19 lines
347 B
TypeScript

import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
server: {
proxy: {
'/ws': {
target: 'ws://localhost:1234',
ws: true,
},
'/webcam': {
target: 'http://localhost:1234',
},
},
},
});