Don't log query parameters as they may contain secrets

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/10929/head
Michael Telatynski 2019-09-21 17:44:58 +01:00
parent e8fbd77a61
commit 1018dc7ced
1 changed files with 2 additions and 1 deletions

View File

@ -334,7 +334,8 @@ async function loadApp() {
const acceptInvalidBrowser = window.localStorage && window.localStorage.getItem('mx_accepts_unsupported_browser');
console.log("Vector starting at "+window.location);
const urlWithoutQuery = window.location.protocol + '//' + window.location.host + window.location.pathname;
console.log("Vector starting at " + urlWithoutQuery);
if (configError) {
window.matrixChat = ReactDOM.render(<div className="error">
Unable to load config file: please refresh the page to try again.