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

Wrong media URI after choosing file from list #161

Closed
PeterHero opened this issue Dec 15, 2023 · 1 comment
Closed

Wrong media URI after choosing file from list #161

PeterHero opened this issue Dec 15, 2023 · 1 comment
Labels
bug Something isn't working front-end Front-end related issue

Comments

@PeterHero
Copy link

Describe the bug
After choosing a media file from list, URI with html/... is displayed.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'edit text'
  2. Click on 'file from media list under Media URI'
  3. Media URI is filled as 'html/media/[name]'
  4. Go to 'read text'
  5. media does not play
  6. change Media URI to 'media/[name]'
  7. Go to 'read text'
  8. media does play

Expected behavior
Media URI should be set as media/[name]. As displayed on labels in list of media in media folder

Server (please complete)

LWT version v002008001
Web Server Apache/2.4.38 (Debian)
Server Software Apache/2.4.38
Server Location localhost:8010
PHP Version 8.1.20

@HugoFara HugoFara added bug Something isn't working front-end Front-end related issue labels Dec 27, 2023
HugoFara added a commit that referenced this issue Dec 29, 2023
…files.

Fixes #161: media files path was one level too high.
Updates REST API to 0.1.1.
@HugoFara
Copy link
Owner

This is fixed, thank you for the hint!

The "refresh" button was also broken since 2.9.0, this is fixed as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working front-end Front-end related issue
Projects
None yet
Development

No branches or pull requests

2 participants