begin working on routes
This commit is contained in:
@@ -14,5 +14,10 @@ module.exports = function (app) {
|
||||
app.route('/api/solve')
|
||||
.post((req, res) => {
|
||||
|
||||
const puzzleString = req.body.puzzle;
|
||||
console.log(puzzleString);
|
||||
|
||||
|
||||
|
||||
});
|
||||
};
|
||||
@@ -7,8 +7,6 @@
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<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" />
|
||||
</head>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user