File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 55'use strict' ;
66
77var errors = require ( './components/errors' ) ;
8+ var path = require ( 'path' ) ;
89
910module . 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} ;
Original file line number Diff line number Diff 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
204204Generates an AngularJS service decorator.
You can’t perform that action at this time.
0 commit comments