mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 14:25:17 +00:00
Fixed example webserver
This commit is contained in:
@@ -9,11 +9,11 @@ export const app = express();
|
||||
|
||||
app.use(express.json());
|
||||
|
||||
app.listen(8080, "0.0.0.0", function (request, response) {
|
||||
app.listen(8080, "0.0.0.0", () => {
|
||||
console.log("Webserver started.");
|
||||
});
|
||||
|
||||
app.all("/", function (request, response) {
|
||||
app.all("/", function (_, response) {
|
||||
response.redirect("/gen/");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user