Skip to content

Commit

Permalink
set path to /
Browse files Browse the repository at this point in the history
  • Loading branch information
IoTcat committed Jun 15, 2020
1 parent bf188c4 commit e6a9249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Expand Up @@ -20,7 +20,7 @@ fs.exists(__dirname + '/var/data.json', function(exists) {

app.listen(13233 /*default port*/, () => console.log('todo-ddl listening on port 13233!'));

app.post('/todo-ddl/', (req, res) => {
app.post('/', (req, res) => {
let query = req.body;
query.data = JSON.parse(query.data);
if(!query.action || !query.email || !query.data){
Expand Down

0 comments on commit e6a9249

Please sign in to comment.