port removed from api_url

This commit is contained in:
dimitar 2025-04-26 18:15:18 +02:00
parent 967f9b414e
commit 42a1af1117
2 changed files with 4 additions and 9 deletions

View File

@ -1,4 +1,4 @@
import { PostHogProvider } from "posthog-js/react"; // import { PostHogProvider } from "posthog-js/react";
import React from "react"; import React from "react";
import ReactDOM from "react-dom/client"; import ReactDOM from "react-dom/client";
import App from "./App.jsx"; import App from "./App.jsx";
@ -11,11 +11,6 @@ const options = {
ReactDOM.createRoot(document.getElementById("root")).render( ReactDOM.createRoot(document.getElementById("root")).render(
<React.StrictMode> <React.StrictMode>
<PostHogProvider <App />
apiKey={config.REACT_APP_PUBLIC_POSTHOG_KEY}
options={options}
>
<App />
</PostHogProvider>
</React.StrictMode>, </React.StrictMode>,
); );

View File

@ -1,7 +1,7 @@
import axios from "axios"; import axios from "axios";
// const API_URL = "https://imkapi.oblak.solutions:3000"; const API_URL = "https://imkapi.oblak.solutions";
const API_URL = "http://localhost:3000"; // const API_URL = "http://localhost:3000";
const api = axios.create({ const api = axios.create({
baseURL: API_URL, baseURL: API_URL,
withCredentials: true, withCredentials: true,