github.com/filecoin-project/bacalhau@v0.3.23-0.20230228154132-45c989550ace/dashboard/frontend/vite.config.ts (about)

     1  import { defineConfig } from 'vite'
     2  import react from '@vitejs/plugin-react'
     3  
     4  // https://vitejs.dev/config/
     5  export default defineConfig({
     6    plugins: [react()],
     7    server: {
     8      host: '0.0.0.0',
     9      port: 8080,
    10      proxy: {
    11        '/api': 'http://localhost:8081',
    12      },
    13    },
    14    publicDir: 'assets'
    15  })