mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00:00
Add basePath for telemetry.
This commit is contained in:
parent
f50067e44f
commit
b81f5112bc
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ export function App({ children }) {
|
|||
{children}
|
||||
<UpdateNotice user={user} config={config} />
|
||||
{process.env.NODE_ENV === 'production' && !pathname.includes('/share/') && (
|
||||
<Script src={`/telemetry.js`} />
|
||||
<Script src={`${process.env.basePath}/telemetry.js`} />
|
||||
)}
|
||||
</>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue