10000 modified add to app · daysCounting/imooc@a3e8fbc · GitHub
[go: up one dir, main page]

Skip to content

Commit a3e8fbc

Browse files
rootroot
authored andcommitted
modified add to app
1 parent f3ef219 commit a3e8fbc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,26 @@ app.listen(port)
88

99
console.log('imooc started on port '+port)
1010

11-
add.get('/',function(req,res){
11+
app.get('/',function(req,res){
1212
res.render('detail',{
1313
title:'imooc 首页'
1414
})
1515
})
1616

17-
add.get('/movie/:id',function(req,res){
17+
app.get('/movie/:id',function(req,res){
1818
res.render('detail',{
1919
title:'imooc 详情页'
2020
})
2121
})
2222

23-
add.get('/admin/movie',function(req,res){
23+
app.get('/admin/movie',function(req,res){
2424
res.render('detail',{
2525
title:'imooc 后台录入页面'
2626
})
2727
})
2828

29-
add.get('/admin/list',function(req,res){
29+
app.get('/admin/list',function(req,res){
3030
res.render('detail',{
3131
title:'imooc 列表页'
3232
})
33-
})
33+
})

0 commit comments

Comments
 (0)
0