mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +03:00
12 lines
293 B
TypeScript
12 lines
293 B
TypeScript
"use strict";
|
|
var config = require("../config");
|
|
module.exports.route = function (server) {
|
|
|
|
// General Login Page
|
|
server.get(config.env.siteRoot + "/auth/login", function (req, res, next) {
|
|
|
|
// TODO Should render login page that shows auth options
|
|
req.redirect("/auth/live");
|
|
});
|
|
}
|