diff --git a/compose.yml b/compose.yml index 21911a0..dda52b9 100644 --- a/compose.yml +++ b/compose.yml @@ -11,11 +11,11 @@ services: POSTGRES_PASSWORD: password live777: - image: ghcr.io/binbat/live777-server:0.2.0 + image: ghcr.io/binbat/live777-server:0.3.1 container_name: live777 hostname: live777 ports: - - "3000:3000/tcp" + - "7777:7777/tcp" networks: default: diff --git a/fly.toml b/fly.toml index 1ca64ee..03de608 100644 --- a/fly.toml +++ b/fly.toml @@ -17,4 +17,4 @@ min_machines_running = 0 processes = ["app"] [env] -LIVE777_URL = "http://live777.binbat.com:3000" +LIVE777_URL = "http://live777.binbat.com:7777" diff --git a/server/config.go b/server/config.go index 6c6196f..f021efe 100644 --- a/server/config.go +++ b/server/config.go @@ -3,6 +3,6 @@ package server type Config struct { Port string `env:"PORT" envDefault:"4000"` DatabaseUrl string `env:"DATABASE_URL" envDefault:"user=postgres password=password dbname=woom sslmode=disable"` - Live777Url string `env:"LIVE777_URL" envDefault:"http://localhost:3000"` + Live777Url string `env:"LIVE777_URL" envDefault:"http://localhost:7777"` Live777Token string `env:"LIVE777_TOKEN" envDefault:""` } diff --git a/vite.config.ts b/vite.config.ts index 953d129..75ab0d0 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -9,8 +9,8 @@ import presetUno from '@unocss/preset-uno' export default defineConfig({ server: { proxy: { - '^/whip/.*': 'http://localhost:3000', - '^/whep/.*': 'http://localhost:3000', + '^/whip/.*': 'http://localhost:7777', + '^/whep/.*': 'http://localhost:7777', '^/room/.*': 'http://localhost:4000', }, },