mirror of
https://github.com/vector-im/element-web.git
synced 2025-11-04 18:21:31 +01:00
Don't log query parameters as they may contain secrets
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
e8fbd77a61
commit
1018dc7ced
@ -334,7 +334,8 @@ async function loadApp() {
|
|||||||
|
|
||||||
const acceptInvalidBrowser = window.localStorage && window.localStorage.getItem('mx_accepts_unsupported_browser');
|
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) {
|
if (configError) {
|
||||||
window.matrixChat = ReactDOM.render(<div className="error">
|
window.matrixChat = ReactDOM.render(<div className="error">
|
||||||
Unable to load config file: please refresh the page to try again.
|
Unable to load config file: please refresh the page to try again.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user