refactor: undo earlier change to vite.config.ts

This commit is contained in:
izzy 2025-11-10 11:46:48 +00:00
parent 7728dd0593
commit f5199e179f
No known key found for this signature in database
GPG key ID: 5059F398521BB0F6

View file

@ -6,10 +6,8 @@ import path from 'node:path';
import { visualizer } from 'rollup-plugin-visualizer';
import { defineConfig, type ProxyOptions, type UserConfig } from 'vite';
process.env.IMMICH_SERVER_URL ??= 'http://immich-server:2283/';
const upstream = {
target: process.env.IMMICH_SERVER_URL,
target: 'http://immich-server:2283/',
secure: true,
changeOrigin: true,
logLevel: 'info',