Skip to content

API license link should be relative #457

@josecelano

Description

@josecelano

When you load the entrypoint for the API in the live demo:

https://index.torrust-demo.com/api/v1

You see a page like this:

image

The HTML link for the license is:

<a href="/v1/about/license">license</a>

The link is broken because it redirects to:

https://index.torrust-demo.com/v1/about/license

The right link should be:

https://index.torrust-demo.com/api/v1/about/license

So the corrent <a> elements should be:

<a href="v1/about/license">license</a>

The problem is we are using a subfolder for the API on the live demo and links should be relative.

Metadata

Metadata

Assignees

Labels

- User -Enjoyable to Use our SoftwareBugIncorrect BehaviorEasyGood for Newcomersgood first issueGood for newcomers

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions