File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 5
5
'use strict' ;
6
6
7
7
var errors = require ( './components/errors' ) ;
8
+ var path = require ( 'path' ) ;
8
9
9
10
module . exports = function ( app ) {
10
11
@@ -21,6 +22,6 @@ module.exports = function(app) {
21
22
// All other routes should redirect to the index.html
22
23
app . route ( '/*' )
23
24
. get ( function ( req , res ) {
24
- res . sendfile ( app . get ( 'appPath' ) + '/index.html' ) ;
25
+ res . sendFile ( path . resolve ( app . get ( 'appPath' ) + '/index.html' ) ) ;
25
26
} ) ;
26
27
} ;
Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ Produces:
198
198
client/app/myService/myService.service.spec.js
199
199
200
200
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.
202
202
203
203
### Decorator
204
204
Generates an AngularJS service decorator.
You can’t perform that action at this time.
0 commit comments