forked from matrix/element-web
Merge pull request #10929 from vector-im/t3chguy/don't_log_query_params
Don't log query parameters as they may contain secrets
This commit is contained in:
commit
0c187b4459
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue