Skip to content

Conversation

@josecelano
Copy link
Member

When the API is istalled using a subfolder links don't work.

For exmaple:

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

License links goes to:

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

instead of:

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

This change uses relative URLs and also an explicit redirecting to the abnout pages, intead of showing the same content for other pages like

When the API is istalled using a subfolder links don't work.

For exmaple:

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

License links goes to:

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

instead of:

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

This change uses relative URLs and also an explicit redirecting to the
abnout pages, intead of showing the same content for other pages like

- https://index.torrust-demo.com/api/
- https://index.torrust-demo.com/api/v1
- https://index.torrust-demo.com/api/v1/about/
@josecelano josecelano added this to the v3.0.0 milestone Feb 8, 2024
@josecelano josecelano added the Bug Incorrect Behavior label Feb 8, 2024
@josecelano josecelano linked an issue Feb 8, 2024 that may be closed by this pull request
@josecelano
Copy link
Member Author

ACK 90a2035

@josecelano josecelano merged commit 7c3f798 into torrust:develop Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Incorrect Behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API license link should be relative

1 participant