Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open flag isn't aware of base config setting #7486

Closed
1 task
jeremyfrank opened this issue Jun 26, 2023 · 0 comments · Fixed by #8123
Closed
1 task

Open flag isn't aware of base config setting #7486

jeremyfrank opened this issue Jun 26, 2023 · 0 comments · Fixed by #8123

Comments

@jeremyfrank
Copy link

What version of astro are you using?

2.7.0

Are you using an SSR adapter? If so, which one?

None

What package manager are you using?

npm

What operating system are you using?

Mac

What browser are you using?

Chrome

Describe the Bug

When running npm run dev --open on a project with a base config set, the project opens in the browser w/o the base path added to the url.

What's the expected result?

Project should open in the browser with base path applied, e.g. http://localhost:3000/[base]

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-ycrwnw?file=astro.config.mjs

Participation

  • I am willing to submit a pull request for this issue.
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 a pull request may close this issue.

1 participant