File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 16
16
17
17
## Frontend Examples
18
18
19
- - [ ] - [ js-data + js-data-angular + Angular.js] ( )
19
+ - [ ] - [ js-data + js-data-angular + Angular.js] ( https://github.com/js-data/js-data-examples/tree/master/client/angular )
20
20
- [ ] - [ js-data + js-data-angular + js-data-localforage + Angular.js] ( )
21
21
- [ ] - [ js-data + js-data-angular + js-data-localstorage + Angular.js] ( )
22
22
- [ ] - [ js-data + js-data-angular + js-data-firebase + Angular.js] ( )
27
27
28
28
## Backend Examples
29
29
30
- - [ ] - [ js-data + js-data-rethinkdb + Express.js] ( )
30
+ - [ ] - [ js-data + js-data-rethinkdb + Express.js] ( https://github.com/js-data/js-data-examples/tree/master/server/rethinkdb )
31
31
- [ ] - [ js-data + js-data-rethinkdb + js-data-redis + Express.js] ( )
32
32
- [ ] - [ js-data + js-data-mongodb + Express.js] ( )
33
33
- [ ] - [ js-data + js-data-sql + Express.js + MySQL] ( )
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ exports.createServer = function () {
85
85
app . use ( session ( { secret : 'keyboard cat' } ) ) ;
86
86
app . use ( passport . initialize ( ) ) ;
87
87
app . use ( passport . session ( ) ) ;
88
- app . use ( express . static ( path . join ( __dirname , config . PUBLIC ) ) ) ;
88
+ app . use ( express . static ( path . join ( __dirname , process . env . PUBLIC || config . PUBLIC ) ) ) ;
89
89
90
90
// app settings
91
91
app . enable ( 'trust proxy' ) ;
@@ -146,7 +146,7 @@ exports.createServer = function () {
146
146
} ) ;
147
147
} ;
148
148
149
- if ( module === require . main || process . NODE_ENV === 'prod' ) {
149
+ if ( module === require . main || process . env . NODE_ENV === 'prod' ) {
150
150
var app = exports . createServer ( ) ;
151
151
var server = http . createServer ( app ) ;
152
152
var config = container . get ( 'config' ) ;
You can’t perform that action at this time.
0 commit comments