We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86a4a86 commit 25beab3Copy full SHA for 25beab3
web/backend/src/Server.ts
@@ -69,6 +69,12 @@ app.use(express.urlencoded({ extended: true }));
69
// }
70
// });
71
72
+// This endpoint allows anyone to get a "default" proxy. Clients can still use
73
+// the proxy of their choice thought.
74
+app.get('/api/config/proxy', (req, res) => {
75
+ res.status(200).send(process.env.FRONT_END_URL)
76
+});
77
+
78
const usersDB = lmdb.open<'admin' | 'operator', number>({
79
path: `${process.env.DB_PATH}dvoting-users`,
80
});
0 commit comments