YunoHost-Apps / umami_ynh

Umami package for YunoHost
https://umami.is/
GNU General Public License v3.0
3 stars 3 forks source link

Tracking script name does not get changed #42

Open MagicLike opened 10 months ago

MagicLike commented 10 months ago

Describe the bug

I used the mapping feature for the script and even added the environment variable in the .env, but I get a 404 when trying to access the script under the chosen name.

Context

Steps to reproduce

  1. Install umami
  2. Open umami in the Applications menu
  3. Rename the Script field under Operations
  4. Try to access the tracking script under the new name
  5. See 404 error

As stated in the official umami docs it should also be possible to add TRACKER_SCRIPT_NAME = <script name> into the .env file.

Expected behavior

Change the name of the tracking script and make it available via HTTP.

orhtej2 commented 10 months ago

This is problematic because you'll have to add permission for this path, otherwise it'll return 403 anyway.

I'm not sure if this is implementable within current ynh framework.