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

VUE_APP_SERVER_URL is ignored #681

Closed
2 tasks done
mykter opened this issue Dec 19, 2023 · 0 comments · Fixed by #682
Closed
2 tasks done

VUE_APP_SERVER_URL is ignored #681

mykter opened this issue Dec 19, 2023 · 0 comments · Fixed by #682
Labels
defect Something isn't working
Milestone

Comments

@mykter
Copy link
Contributor

mykter commented Dec 19, 2023

Current Behavior

The development server is hardcoded to find the apiserver on localhost:8080; the docs say you can specify this using VUE_APP_SERVER_URL; it looks like this regressed in 1cf115b.

Steps to Reproduce

  1. Start the api server with docker-compose up drack-apiserver
  2. Set VUE_APP_SERVER_URL in .env.development
  3. npm serve then try and login
  4. Get a 431 or 405 HTTP error

Expected Behavior

Can log in

Dependency-Track Frontend Version

4.11.0-SNAPSHOT

Browser

Firefox

Browser Version

No response

Operating System

macOS

Checklist

@mykter mykter added defect Something isn't working in triage labels Dec 19, 2023
@mykter mykter mentioned this issue Dec 19, 2023
2 tasks
@nscuro nscuro removed the in triage label Dec 20, 2023
@nscuro nscuro added this to the 4.11 milestone Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants