streamplace streaming tools
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 27 lines 561 B view raw
1import { fileURLToPath, URL } from 'node:url' 2 3import { defineConfig } from 'vite' 4import vue from '@vitejs/plugin-vue' 5import vueDevTools from 'vite-plugin-vue-devtools' 6 7// https://vite.dev/config/ 8export default defineConfig({ 9 plugins: [ 10 vue(), 11 vueDevTools(), 12 ], 13 resolve: { 14 alias: { 15 '@': fileURLToPath(new URL('./src', import.meta.url)) 16 }, 17 }, 18 server: { 19 proxy: { 20 '/api': { 21 target: 'http://localhost:5000', 22 changeOrigin: true, 23 rewrite: (path) => path.replace(/^\/api/, '') 24 } 25 } 26 } 27})