18 lines
454 B
TypeScript
18 lines
454 B
TypeScript
import { defineConfig } from 'vite'
|
|
import preact from '@preact/preset-vite'
|
|
|
|
export default defineConfig({
|
|
plugins: [preact()],
|
|
server: {
|
|
proxy: {
|
|
'/s/': 'http://localhost:8080',
|
|
'/a/': 'http://localhost:8080',
|
|
'/m/': 'http://localhost:8080',
|
|
'/t/': 'http://localhost:8080',
|
|
'/sk/': 'http://localhost:8080',
|
|
'/backends': 'http://localhost:8080',
|
|
'/openapi.json': 'http://localhost:8080',
|
|
},
|
|
},
|
|
})
|