mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 20:38:55 +03:00
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
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue