Skip to content

fix#6

Open
faisalalidoka-stack wants to merge 1 commit into
ayoubhayda:masterfrom
faisalalidoka-stack:faisalstry
Open

fix#6
faisalalidoka-stack wants to merge 1 commit into
ayoubhayda:masterfrom
faisalalidoka-stack:faisalstry

Conversation

@faisalalidoka-stack

Copy link
Copy Markdown

No description provided.

Copilot AI review requested due to automatic review settings May 12, 2026 03:01

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds configurability for the app’s deployment base path in the Vite build, enabling hosting under a sub-path (e.g., /myapp/) without changing code.

Changes:

  • Configure vite.config.js to set Vite’s base from process.env.VITE_BASE_PATH, defaulting to /.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread vite.config.js
Comment on lines 4 to +7
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
base: process.env.VITE_BASE_PATH || '/',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants