Commit Graph

17 Commits

Author SHA1 Message Date
Henry
56c16ed263 Modified Express startup so that it only binds to loopback by default 2018-06-08 09:54:18 -07:00
Pete Richards
49d2d5500f Revert "[proxyUrl] pass URL parameters to proxied URL" 2016-09-15 09:37:11 -07:00
raoulsullivan
98486f718b [proxyUrl] pass URL parameters to proxied URL
Addresses issue #1158

Passes query parameters on to proxyUrl proxied URL

remove the url parameter before passing

Naming convention for variables

Re-order code to reuse variable
2016-08-30 19:55:18 +01:00
Pete Richards
8c2ce81b76 Merge branch 'open1036' of https://github.com/jesusprubio/openmct into jesusprubio-open1036 2016-07-18 11:37:00 -07:00
Jesús Pérez
51079b0252 [API] X-Powered-By" Express header disabled. Fixes #1036
To improve the security avoiding a possible fingerprinting attack

Ref.: http://expressjs.com/en/advanced/best-practice-security.html#at-a-minimum-disable-x-powered-by-header
2016-06-21 19:43:09 +02:00
Even Stensberg
677b65d124 Optional indent removed
removed whitespace
2016-05-11 00:39:16 +02:00
Even Stensberg
31d31d7819 Removed indents
Removed unnecessary indentations
2016-05-11 00:14:52 +02:00
Even Stensberg
d32ef4bc3d Last indentation fix 2016-05-10 22:03:07 +02:00
Even Stensberg
b4faf8991d Indentation Fixes 2016-05-10 22:02:19 +02:00
Even Stensberg
cf295105d4 [Functionality] Log app instance to the console
Added logging statement, so the user knows when the app is up and running.
2016-05-10 21:06:04 +02:00
Henry
1cdeccc7a7 #885 added command line option --directory -D to specify base directory 2016-05-05 21:58:31 -07:00
Henry
4674918b4b [Examples] #359 Updated to attempt connection to remote data source and fallback to local if unavailable
Minor change to readme

Fixed JSLint errors

More JSLint errors

[Example] Rems data integration - disabled bundle by default.

[Examples] REMS data integration - added newlines at end of files

[Example] Added time conductor support to REMS data integration

Added caching of results

[Examples] Added domain format to REMS data #359

[Example] #637 Added local proxy to app.js to allow cross-origin requests

Updated readme
2016-02-26 14:03:10 -08:00
Victor Woeltjen
ed454df97d [API Refactor] Uncomment out erroneous change 2016-01-08 15:45:30 -08:00
Victor Woeltjen
72c721b605 [API] Remove bundles.json
...and make its usage optional.
2016-01-08 09:54:02 -08:00
larkin
5c3ccb9ee0 [Development] Reload bundle file with each request
Reload the bundle file from disk when requested, re-applying any
includes or excludes that were specified on the command line.

Allows a developer to make changes to bundles.json without having to
restart the server for them to take effect.
2015-06-30 15:24:52 -07:00
Victor Woeltjen
5f64e499f4 [Example] Work around JSLint
JSLint doesn't like Express's use of static (a reserved word) as a
method name, so change the way it's accessed. WTD-1199.
2015-06-04 10:47:04 -07:00
Victor Woeltjen
2797af43e9 [Configuration] Add server app
Add server app which provides the ability to include/exclude
bundles. WTD-1199.
2015-05-20 09:03:55 -07:00