p5.js-web-editor/server
Andrew Nicolaou dc801ccf7f Force HTTPS redirection for log in and sign up (#319)
* Higher-order component to force some routes to HTTPS

* Force all user-management routes to HTTPS

* Redirect to sourceProtocol as route unmounts.

By default, no redirection occurs if sourceProtocol is not explicitly
defined.

* Sets serveSecure flag on new projects and usea after forcing protocol

The flag is set to `false` on all projects and as the UI has no way to
change this, it always redirects to HTTP after a signup/login action.

* Move HoC to be with other top-level components

* Server should respond to account page request

* Serves AccountView over HTTPS

* Turns HTTPS redirection off in development by default

Will log to the browser console any redirection that would
have happened. Added a line in the README about how to
enable this for testing in development.
2017-03-30 12:36:26 -04:00
..
config update eslint to latest version, fix lots of linting errors (#308) 2017-02-22 14:29:35 -05:00
controllers Adding User Settings View (#325) 2017-03-16 18:25:12 -04:00
models update eslint to latest version, fix lots of linting errors (#308) 2017-02-22 14:29:35 -05:00
routes Force HTTPS redirection for log in and sign up (#319) 2017-03-30 12:36:26 -04:00
utils update eslint to latest version, fix lots of linting errors (#308) 2017-02-22 14:29:35 -05:00
views update eslint to latest version, fix lots of linting errors (#308) 2017-02-22 14:29:35 -05:00
config.js fix a ton of eslint errors 2016-06-23 18:29:55 -04:00
examples.js update eslint to latest version, fix lots of linting errors (#308) 2017-02-22 14:29:35 -05:00
server.js Enable CORS for all origins and requests on API (#324) 2017-03-23 14:53:16 -04:00