mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-05 18:47:41 +00:00
misc fixes
This commit is contained in:
@@ -28,6 +28,10 @@ app.get("/_ready", (_, res) => {
|
||||
}
|
||||
});
|
||||
|
||||
app.get("config.json", (_, res) => {
|
||||
res.json({ EMULATOR_ENDPOINT: conf.EMULATOR_ENDPOINT });
|
||||
});
|
||||
|
||||
const bypass = (req, res) => {
|
||||
if (req.method === "OPTIONS") {
|
||||
res.statusCode = 200;
|
||||
|
||||
Reference in New Issue
Block a user