Gottwik / Enduro

Minimalistic, lean & mean, node.js cms
http://www.endurojs.com/
MIT License
690 stars 121 forks source link

question: which file should I fill in? #254

Open smeeteday opened 6 years ago

smeeteday commented 6 years ago

3000 port server To add app.get ('/ api_a', function () {}); Which file should I fill in?

Go to node_modules / enduro / libs / enduro_server / enduro_server.js I added it, It was bad.

app.get ('/ api_a', function (req, res) {    res.send ("Hello api_a \ n"); });

please teach someone...