DependencyTrack / DependencyTrack/frontend

How to setup the context?

Open
#107 4 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Vue
Stars
171
Forks
250
Avg merge
10h 56m
Merged PRs (30d)
84

Description

I've just launch the api server jar in port localhost:8080/dtrack, and I would like to deploy the frontend in a context different than root.
When I use the Apache with frontend files in root context and API_SERVER_URL=http://localhost:8080/dtrack all works nice.

But when I move the frontend files to another context it doesn't works. Frontend seems to expect files on root context.
Is there any variable I could change to point to the new context?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the frontend files and the API_SERVER_URL configuration while reproducing the deployment behind Apache at /dtrack and another non-root context. Trace which frontend URLs still assume the root context; done means the frontend assets and API requests work from the alternate context without changing the root-context setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
apache
Domain
frontend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.