swc/crates/swc_ecma_parser/tests/tsc/parser509534.ts

12 lines
293 B
TypeScript
Raw Normal View History

"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");
});
}