diff --git a/couchpotato/templates/_desktop.html b/couchpotato/templates/_desktop.html
index 63aa4dd8..e6d1ccb2 100644
--- a/couchpotato/templates/_desktop.html
+++ b/couchpotato/templates/_desktop.html
@@ -66,8 +66,8 @@
'data': {
'type': 'error',
'message': Browser.name + ' ' + Browser.version + ': \n' + message,
- 'page': window.location.href,
- 'file': file,
+ 'page': window.location.href.replace(window.location.host, 'HOST'),
+ 'file': file.replace(window.location.host, 'HOST'),
'line': line
}
});