Skip to content

Commit 084605b

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents b0ce36e + e30841f commit 084605b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/templates/server/routes.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
'use strict';
66

77
var errors = require('./components/errors');
8+
var path = require('path');
89

910
module.exports = function(app) {
1011

@@ -21,6 +22,6 @@ module.exports = function(app) {
2122
// All other routes should redirect to the index.html
2223
app.route('/*')
2324
.get(function(req, res) {
24-
res.sendfile(app.get('appPath') + '/index.html');
25+
res.sendFile(path.resolve(app.get('appPath') + '/index.html'));
2526
});
2627
};

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ Produces:
198198
client/app/myService/myService.service.spec.js
199199

200200

201-
You can also do `yo angular:factory` and `yo angular:provider` for other types of services.
201+
You can also do `yo angular-fullstack:factory` and `yo angular-fullstack:provider` for other types of services.
202202

203203
### Decorator
204204
Generates an AngularJS service decorator.

0 commit comments

Comments
 (0)