Replies: 1 comment
-
I am not sure what is import { defineConfig } from 'vite'
export default defineConfig({
base: '',
}) When |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to host a vite + React application in the subpath of my main domain.
The main domain is https://name.my-domain.com and the subpath is /ai
So I need to host it in https://name.my-domain.com/ai.
I use kuberneter cluster and ingress controller for nginx.
The nginx is configured to subpath.
But the subpath is not being appended to the file paths even after mention it in vite.config.ts and also in cli as vite --base=/ai
Beta Was this translation helpful? Give feedback.
All reactions