Skip to content

Commit

Permalink
updated url
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoalbanese committed Feb 19, 2024
1 parent affa29b commit 20b26ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,10 @@ export const sendEvent = async (
) => {
const config = readConfigFile();
if (config.analytics === false) return;
const url = "https://kirimase-proxy-analytics.vercel.app";
// const url = "http://localhost:3000";
try {
await fetch(`https://kirimase-proxy-analytics.vercel.app/api/send-event`, {
await fetch(url + `/api/send-event`, {
method: "POST",
headers: {
"x-request-from": "kirimase",
Expand Down

0 comments on commit 20b26ee

Please sign in to comment.