动漫引擎

导航

2016年2月29日

ExpressJs server中Router的设置

摘要: expressjs的路由设置方法 1. Route Path的3种写法: 实例: app.get('/opus/.*.html', handler); // 模式字串,用单引号'', 不是RegExp app.get(/\/opus\/.*\.html/, handler); // RegExp, 阅读全文

posted @ 2016-02-29 04:49 动漫引擎 阅读(412) 评论(0) 推荐(0) 编辑