it is my fault sorry

after swapping this lines everything is ok

app.use(express.static(path.join(__dirname, 'public')));

app.use(app.router);