📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
return to normal baseURL for selfhosted
Blue Mouse32d657701e60
diff --git a/src/api/index.ts b/src/api/index.tsindex f38a5144c..50c68e59e 100644--- a/src/api/index.ts+++ b/src/api/index.ts@@ -21,8 +21,7 @@ import { ISubscribers } from 'redux/models/ISubscribers'const debug = Debug('swetrix:api')// @ts-ignore-// const baseURL = isSelfhosted ? window.env.API_URL : (process.env.REACT_APP_API_URL as string)-const baseURL = process.env.REACT_APP_API_URL as string+const baseURL: string = isSelfhosted ? window.env.API_URL : process.env.REACT_APP_API_URLconst api = axios.create({baseURL,