mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-08-04 14:37:34 +00:00
Remove logging
This commit is contained in:
parent
7c6836c2a7
commit
e177b1e1c7
1 changed files with 0 additions and 1 deletions
|
|
@ -150,7 +150,6 @@ function workaroundDigitalOceanApiCors() {
|
|||
electron.session.defaultSession.webRequest.onHeadersReceived(
|
||||
// tslint:disable-next-line:no-any
|
||||
headersFilter, (details: electron.OnHeadersReceivedListenerDetails, callback: (response: any) => void) => {
|
||||
console.error(details);
|
||||
if (details.method === 'OPTIONS') {
|
||||
details.responseHeaders['access-control-allow-origin'] = 'outline://web_app';
|
||||
if (details.statusCode === 403) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue