mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01: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}
|
{children}
|
||||||
<UpdateNotice user={user} config={config} />
|
<UpdateNotice user={user} config={config} />
|
||||||
{process.env.NODE_ENV === 'production' && !pathname.includes('/share/') && (
|
{process.env.NODE_ENV === 'production' && !pathname.includes('/share/') && (
|
||||||
<Script src={`/telemetry.js`} />
|
<Script src={`${process.env.basePath}/telemetry.js`} />
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue