begin working on routes

This commit is contained in:
StevanFreeborn
2022-05-26 20:24:35 -05:00
parent 88f6dfde1f
commit 9357f7875b
2 changed files with 5 additions and 2 deletions
+5
View File
@@ -14,5 +14,10 @@ module.exports = function (app) {
app.route('/api/solve') app.route('/api/solve')
.post((req, res) => { .post((req, res) => {
const puzzleString = req.body.puzzle;
console.log(puzzleString);
}); });
}; };
-2
View File
@@ -7,8 +7,6 @@
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<link id="favicon" rel="icon" href="https://cdn.freecodecamp.org/universal/favicons/favicon-32x32.png"
type="image/x-icon">
<link rel="stylesheet" href="../public/style.css" type="text/css" /> <link rel="stylesheet" href="../public/style.css" type="text/css" />
</head> </head>