port removed from api_url
This commit is contained in:
parent
967f9b414e
commit
42a1af1117
@ -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
|
|
||||||
apiKey={config.REACT_APP_PUBLIC_POSTHOG_KEY}
|
|
||||||
options={options}
|
|
||||||
>
|
|
||||||
<App />
|
<App />
|
||||||
</PostHogProvider>
|
|
||||||
</React.StrictMode>,
|
</React.StrictMode>,
|
||||||
);
|
);
|
||||||
|
|||||||
@ -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,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user