0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-02-17 22:04:19 -05:00

fix(console): use correct public url (#6325)

This commit is contained in:
Gao Sun 2024-07-24 21:46:04 +08:00 committed by GitHub
parent e31a1793ab
commit 07f33d7278
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,7 +16,7 @@ import { defaultConfig } from '../../vite.shared.config';
dotenv.config({ path: await findUp('.env', {}) });
const buildConfig = (mode: string): UserConfig => ({
base: `/${process.env.CONSOLE_PUBLIC_URL ?? 'console'}`,
base: `${process.env.CONSOLE_PUBLIC_URL ?? '/console'}`,
envDir: '../../',
server: {
port: 5002,