-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Tracker script always using /api/send rather than the endpoint defined by environment variable #2562
Comments
Looks like I am also having this issue. Using the MySQL Docker image. Defining these environment variables in the compose: TRACKER_SCRIPT_NAME: rep.js
COLLECT_API_ENDPOINT: /my/custom |
Confirmed. Do you know what version you were on previously before upgrading? |
Judging by when analytics stopped being reported, it looks like the v2.10.0 release caused the issue |
The replacer in the script is looking for |
Thanks, this is fixed. The regex expression in update-tracker was incorrect as @jonaskuske noted. Need to release a new image. |
Thanks for the quick update! But the regex is now adding superfluous quotes into the script, as the double quotes were only removed from the regex, not from the replacement string |
That was not smart... fixed again! |
Describe the Bug
The tracker script always references
/api/send
rather than the endpoint defined by theCOLLECT_API_ENDPOINT
environment variable.Database
PostgreSQL
Relevant log output
No response
Which Umami version are you using? (if relevant)
v2.10.1
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
Railway Template
The text was updated successfully, but these errors were encountered: