mirror of
https://github.com/logos-messaging/logos-messaging-frontend.git
synced 2026-01-04 06:43:08 +00:00
adding env variable support
This commit is contained in:
parent
a754e731ae
commit
3cd69f2451
@ -48,8 +48,7 @@ interface CommunityMetadata {
|
||||
contentTopic: string;
|
||||
}
|
||||
|
||||
// const SERVICE_ENDPOINT = process.env.API_ENDPOINT || "http://localhost:8645";
|
||||
const SERVICE_ENDPOINT = "http://localhost:8645";
|
||||
const SERVICE_ENDPOINT = import.meta.env.VITE_API_ENDPOINT || "http://localhost:8645";
|
||||
const COMMUNITY_CONTENT_TOPIC_PREFIX = "/universal/1/community";
|
||||
|
||||
function App() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user