p5.js-web-editor/server/routes
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
..
aws.routes.js get dropzone to render 2016-07-19 18:27:27 -04:00
embed.routes.js change full screen view to embed view 2016-11-02 11:12:07 -04:00
file.routes.js fix linting errors that are fixable with --fix in server side code 2016-11-17 11:15:35 -05:00
project.routes.js fixes #96, downloads now work on safari and firefox 2016-11-02 14:08:53 -04:00
server.routes.js Force HTTPS redirection for log in and sign up (#319) 2017-03-30 12:36:26 -04:00
session.routes.js add and test logout 2016-08-27 20:46:20 -04:00
user.routes.js Adding User Settings View (#325) 2017-03-16 18:25:12 -04:00