ADD codex url endpoint mapping

This commit is contained in:
Shaun Orssaud 2023-10-27 15:12:14 +09:00
parent c56111b754
commit 665cf937e0
2 changed files with 3 additions and 1 deletions

View File

@ -12,3 +12,5 @@ services:
image: codex-frontend-client
ports:
- "3000:80"
environment:
- CODEX_URL=http://loiujhaiuhailuhost:8080

View File

@ -28,7 +28,7 @@ export const useDexyStore = create<DexyState>()(
ftdCid: "",
setFtdCid: (cid) => set({ ftdCid: cid }),
nodeInfo: {
baseUrl: "http://localhost:8080",
baseUrl: process.env.CODEX_URL || "http://localhost:8080",
nodeToConnectTo: null,
id: null,
// ip: null,