fix: corrigir base path do Vite para subdomínio dedicado
Com o domínio task.beetech.dev servindo o frontend na raiz, o base '/frontend/' gerava referencias quebradas nos assets. Muda para '/'. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
682280fefd
commit
322cb2930a
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ import { defineConfig } from 'vite'
|
||||||
import pkg from './package.json'
|
import pkg from './package.json'
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
base: '/frontend/',
|
base: '/',
|
||||||
define: {
|
define: {
|
||||||
'import.meta.env.VITE_APP_VERSION': JSON.stringify(pkg.version),
|
'import.meta.env.VITE_APP_VERSION': JSON.stringify(pkg.version),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue