package: move assets to "assets"
This commit is contained in:
parent
e8b2a3fb99
commit
d432969fb2
13 changed files with 16 additions and 16 deletions
|
|
@ -25,7 +25,7 @@ express.get('*', function(req, res){
|
|||
} else {
|
||||
res.send('')
|
||||
}
|
||||
} else if (req.path.indexOf('client/') != -1){
|
||||
} else if (req.path.indexOf('assets/') != -1){
|
||||
res.sendFile(path.resolve(__dirname + '/..' + req.path))
|
||||
} else {
|
||||
res.sendFile(path.resolve(req.path))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue