Skip to content
This repository was archived by the owner on Apr 11, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
06fc052
Change to allow startsWith to be supported instead of just startswith
mlesswing Mar 21, 2014
611be8e
Added hooks to add and remove items from the external index as well a…
mlesswing Mar 21, 2014
a68cf7e
Added EXAMPLE of how to extend functions to an entity
mlesswing Mar 21, 2014
1397c91
cleanup of filed from the fork process
mlesswing Mar 21, 2014
1a89d14
Changes to the build system to facilitate the fork
mlesswing Mar 22, 2014
a887b8f
Further changes to the NPM package.json
mlesswing Mar 22, 2014
184ec87
Fixed a typo in the README and incremented the version
mlesswing Mar 22, 2014
0b0f0ed
remove extraneous build information
mlesswing Mar 26, 2014
a8bf2f8
Merge remote-tracking branch 'upstream/development' into development
mlesswing Mar 26, 2014
d7600ac
removed writing INDEX to disk
mlesswing Mar 26, 2014
be6a1c9
incremented NPM version number
mlesswing Mar 26, 2014
1f2ea14
incremented version number
mlesswing Mar 26, 2014
121fe22
incremented version number
mlesswing Mar 26, 2014
e68bc37
incremented version number
mlesswing Mar 26, 2014
461d33e
incremented version number
mlesswing Mar 26, 2014
7857e5e
increment version number
mlesswing Mar 27, 2014
1b8e807
Changes author to CRT
mlesswing Mar 27, 2014
f91beec
finished work on using MongoDB indexes to enforce uniqueness
mlesswing Mar 27, 2014
7f6c77b
metrics added to the PATCH process
mlesswing Mar 31, 2014
d2af6dc
increment version number
mlesswing Mar 31, 2014
0c7c3f8
Fix for post-pended NULL route
mlesswing Aug 7, 2014
d2e8bf4
sync to JayData 1.3.6
mlesswing Mar 22, 2015
bc9c2a9
increment NPM version numer
mlesswing Mar 22, 2015
f430285
start of libRETS provider addition
mlesswing Apr 21, 2015
1ee202b
cleanup unused npm directory
mlesswing Apr 21, 2015
d1bd6b3
updated the readme for the npm package
mlesswing Apr 21, 2015
9356a1c
change npm package description
mlesswing Apr 21, 2015
8451a25
fix to make libRETS build for distribution
mlesswing Apr 22, 2015
5e7d3e4
allow librets storage provider to register
mlesswing Apr 24, 2015
de0cdeb
add librets storage provider to index.js through Makefile
mlesswing Apr 24, 2015
c444b01
correct isSupported function
mlesswing Apr 24, 2015
313c6f2
cleaned up return on _getServer
mlesswing Apr 24, 2015
bc5a75c
always use connections, without option to pass a server object
mlesswing Apr 24, 2015
379a3dc
changed default url and removed need to have a database name
mlesswing Apr 24, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix for post-pended NULL route
  • Loading branch information
mlesswing committed Aug 7, 2014
commit 0c7c3f849d11464bcc86b7b9961883825f69f086
6 changes: 5 additions & 1 deletion JayService/JayService.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,12 @@ $data.Class.define("$data.JayService", null, null, {
if (!(typeof req.fullRoute === 'string' && req.fullRoute.length)){
var schema = 'http';
if (req && req.headers) {
if (req.connection.encrypted || req.headers['X-Forwarded-Protocol'] === 'https' || req.headers['x-forwarded-protocol'] === 'https')
if (req.connection.encrypted || req.headers['X-Forwarded-Protocol'] === 'https' || req.headers['x-forwarded-protocol'] === 'https') {
schema += 's';
}
if (!app.route) {
app.route = "";
}

req.fullRoute = (req.baseRoute || (schema + '://' + req.headers.host)) + app.route;
}
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = '1.0.6'
VERSION = '1.0.7'
TARGET_DIR = ./build
RELEASE_DIR = ./release
TEMP_DIR = $(TARGET_DIR)/tmp
Expand Down