Skip to content

📈 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!

hardcode baseURL

Blue Mousee8fae177eab0
diff --git a/app/api/ai.ts b/app/api/ai.ts
index b2923f882..21666f477 100644
--- a/app/api/ai.ts
+++ b/app/api/ai.ts
@@ -6,7 +6,7 @@ import _isEmpty from 'lodash/isEmpty'
const debug = Debug('swetrix:ai')
const api = axios.create({
- baseURL: process.env.REACT_APP_AIAPI_URL,
+ baseURL: 'https://aiapi.swetrix.com/', // process.env.REACT_APP_AIAPI_URL,
})
/**
diff --git a/app/api/blog.ts b/app/api/blog.ts
index 20e9af455..faac07bdf 100644
--- a/app/api/blog.ts
+++ b/app/api/blog.ts
@@ -6,7 +6,7 @@ import _isEmpty from 'lodash/isEmpty'
const debug = Debug('swetrix:blog')
const api = axios.create({
- baseURL: process.env.REACT_APP_BLOG_URL,
+ baseURL: 'https://blog.swetrix.com/', // process.env.REACT_APP_BLOG_URL,
})
export const getLastPost = () =>