radames HF staff commited on
Commit
a36b43a
1 Parent(s): e815ac5

fix for codespaces

Browse files
Files changed (1) hide show
  1. frontend/vite.config.dev.ts +2 -2
frontend/vite.config.dev.ts CHANGED
@@ -4,10 +4,10 @@ import type { UserConfig } from 'vite';
4
  const config: UserConfig = {
5
  plugins: [sveltekit()],
6
  server: {
7
- // host: "0.0.0.0",
8
  proxy: {
9
  '/server': {
10
- target: 'http://localhost:7860',
11
  changeOrigin: true,
12
  cookieDomainRewrite: 'localhost',
13
  rewrite: (path) => path.replace(/^\/server/, '')
4
  const config: UserConfig = {
5
  plugins: [sveltekit()],
6
  server: {
7
+ host: "0.0.0.0",
8
  proxy: {
9
  '/server': {
10
+ target: 'http://0.0.0.0:7860',
11
  changeOrigin: true,
12
  cookieDomainRewrite: 'localhost',
13
  rewrite: (path) => path.replace(/^\/server/, '')