Skip to content

VUE_APP_SERVER_URL is ignored #681

Closed

Description

@mykter

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

Activity

  1. added
    defect
    on Dec 19, 2023
  2. added this to the 4.11 milestone on Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    defect

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions