p5.js-web-editor/client/modules/IDE
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
..
actions Exposes API endpoint URL to client via env variable (#323) 2017-03-16 00:34:14 -04:00
components Fix focus switch to accessible text output (#318) 2017-03-06 15:58:36 -05:00
pages Fix focus switch to accessible text output (#318) 2017-03-06 15:58:36 -05:00
reducers Force HTTPS redirection for log in and sign up (#319) 2017-03-30 12:36:26 -04:00