Update index.js
Update index.js

when I used express-autoroute in Microsoft WebMatrix, the path returned from require.main.filename is not correct, so maybe we need get the path from current working directory. But I don't test it in Linux environment, I'm not sure it will also work well.
arabold/express-autoroute,stonecircle/express-autoroute,Blooie/express-autoroute