Skip to content

Commit

Permalink
Merge 4d8aaea into 1aacc0d
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyanziano committed Apr 12, 2019
2 parents 1aacc0d + 4d8aaea commit a7b8218
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 105 deletions.
58 changes: 0 additions & 58 deletions packages/app/main/src/appendCustomUserAgent.spec.ts

This file was deleted.

43 changes: 0 additions & 43 deletions packages/app/main/src/appendCustomUserAgent.ts

This file was deleted.

4 changes: 0 additions & 4 deletions packages/app/main/src/main.ts
Expand Up @@ -41,7 +41,6 @@ import { app, BrowserWindow, dialog, ipcMain, Rectangle, screen, systemPreferenc
import { UpdateInfo } from 'electron-updater';
import { Store } from 'redux';

import { appendCustomUserAgent } from './appendCustomUserAgent';
import { AppMenuBuilder } from './appMenuBuilder';
import { AppUpdater } from './appUpdater';
import { getStore } from './botData/store';
Expand Down Expand Up @@ -298,9 +297,6 @@ const createMainWindow = async () => {
})
);

// attach custom user agent string
mainWindow.webContents.session.webRequest.onBeforeSendHeaders(appendCustomUserAgent);

// get reference to bots list in state for comparison against state changes
let botsRef = store.getState().bot.botFiles;

Expand Down

0 comments on commit a7b8218

Please sign in to comment.