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

Replace hardcoded subpath with window.location.pathname #618

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

m-o-n-i-s-h
Copy link
Contributor

Problem
Neodash frontend will be served from subpath. eg., https://mercedes-benz.com/neodash/ui/. So in shared dashboard after loading the credentials the page reloads and subpaths are gone. Because of this logo and favicon is not loaded in UI.

Solution
Replaced the path with window.location.pathname

NOTICE:
The program was tested solely for our own use cases, which might differ from yours.
Author Info: Monish [email protected] on behalf of Mercedes-Benz Research and Development India
https://github.com/mercedes-benz/mercedes-benz-foss/blob/master/PROVIDER_INFORMATION.md

@sonarcloud
Copy link

sonarcloud bot commented Sep 8, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@BennuFire BennuFire merged commit e3e4f14 into neo4j-labs:develop Sep 22, 2023
2 of 3 checks passed
This was referenced Sep 22, 2023
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.

3 participants