mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-30 09:24:31 +00:00
Remove GATEWAY/CDN env variables in favor of single source of truth
This commit is contained in:
@@ -34,7 +34,7 @@ router.get(
|
||||
(req: Request, res: Response) => {
|
||||
const { endpointPublic } = Config.get().gateway;
|
||||
res.json({
|
||||
url: endpointPublic || process.env.GATEWAY || "ws://localhost:3001",
|
||||
url: endpointPublic,
|
||||
shards: 1,
|
||||
session_start_limit: {
|
||||
total: 1000,
|
||||
|
||||
@@ -34,7 +34,7 @@ router.get(
|
||||
(req: Request, res: Response) => {
|
||||
const { endpointPublic } = Config.get().gateway;
|
||||
res.json({
|
||||
url: endpointPublic || process.env.GATEWAY || "ws://localhost:3001",
|
||||
url: endpointPublic,
|
||||
});
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user