Compare commits
1 Commits
49b1a235be
...
detached
| Author | SHA1 | Date | |
|---|---|---|---|
| 095f3dae76 |
1
.env.example
Normal file
1
.env.example
Normal file
@ -0,0 +1 @@
|
|||||||
|
NEXT_PUBLIC_API_URL=http://api.example.com/api
|
||||||
@ -1,6 +1,6 @@
|
|||||||
import type { CreateClientConfig } from "@/lib/client/client.gen";
|
import type {CreateClientConfig} from "@/lib/client/client.gen";
|
||||||
|
|
||||||
export const createClientConfig: CreateClientConfig = config => ({
|
export const createClientConfig: CreateClientConfig = config => ({
|
||||||
...config,
|
...config,
|
||||||
baseUrl: "http://crm.logidex.ru/api",
|
baseUrl: process.env.NEXT_PUBLIC_API_URL,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user