cncf / cncf/landscapeapp

Setup links and sources to serve from non-root URL

Open
#848 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
253
Forks
116
PR merge metrics
No merged PRs in 30d

Description

Currently, all of the landscape app links and sources are absolute paths from the root of the URL. For example, a logo is pulled from `/logos/mylogo.svg`. This works fine if you are hosting from the root (e.g. `https://landscape.cncf.io`). However, if a user creates a landscape and attempts to host it from `https://my.org/landscape/`, the links and source are broken. The logo source would be `https://my.org/logos/mylogo.svg`, but it sits at `https://my.org/landscape/logos/mylogo.svg` on the server.

Can you make the links relative to `index.html` rather than absolute?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.