mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-28 16:08:11 +08:00
refactor: drop non-session auth from frontend (#2419)
This commit is contained in:
@@ -39,14 +39,6 @@ app.use(
|
||||
|
||||
app.use(favicon("./favicon.png"));
|
||||
|
||||
app.get("/login", async (req, res) => {
|
||||
try {
|
||||
res.redirect(`${API.prefix}login?dataset=http://localhost:${CLIENT_PORT}`);
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
}
|
||||
});
|
||||
|
||||
app.get("/logout", async (req, res) => {
|
||||
try {
|
||||
res.redirect(`${API.prefix}logout?dataset=http://localhost:${CLIENT_PORT}`);
|
||||
|
||||
Reference in New Issue
Block a user