a267837fb7
* Persists Redux store when reloading app for login * Disable confirmation box when leaving page for login * Removes extra console.warn * Sets serveSecure: true for new projects if served over HTTPS * Clears persisted state on IDEView load Because when a sketch is created on HTTPS and then the user logs in the page won't be reloaded * Appends ?source=<protocol> to URL to track return protocol
6 lines
103 B
JavaScript
6 lines
103 B
JavaScript
|
|
const isSecurePage = () => (
|
|
window.location.protocol === 'https:'
|
|
);
|
|
|
|
export default isSecurePage;
|