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:
parent
e31a1793ab
commit
07f33d7278
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ import { defaultConfig } from '../../vite.shared.config';
|
||||||
dotenv.config({ path: await findUp('.env', {}) });
|
dotenv.config({ path: await findUp('.env', {}) });
|
||||||
|
|
||||||
const buildConfig = (mode: string): UserConfig => ({
|
const buildConfig = (mode: string): UserConfig => ({
|
||||||
base: `/${process.env.CONSOLE_PUBLIC_URL ?? 'console'}`,
|
base: `${process.env.CONSOLE_PUBLIC_URL ?? '/console'}`,
|
||||||
envDir: '../../',
|
envDir: '../../',
|
||||||
server: {
|
server: {
|
||||||
port: 5002,
|
port: 5002,
|
||||||
|
|
Loading…
Add table
Reference in a new issue