2012-08-02から1日間の記事一覧
× app.use(express.bodyDecoder()); ◯ app.use(express.bodyParser()); ejs使ってて Cannot POST / とかでたら POST時のルーティングがないかもしれないので以下のように追加する app.get('/', routes.index);//GET時 app.post('/',routes.index);//POST時 a…
× app.use(express.bodyDecoder()); ◯ app.use(express.bodyParser()); ejs使ってて Cannot POST / とかでたら POST時のルーティングがないかもしれないので以下のように追加する app.get('/', routes.index);//GET時 app.post('/',routes.index);//POST時 a…