Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Commit

Permalink
fix: application constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
moughxyz committed Mar 10, 2022
1 parent ad05c09 commit 866d1d3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions app/javascripts/renderer/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { Bridge, ElectronDesktopCallbacks } from '@web/services/bridge';

declare const BUGSNAG_API_KEY: string;
declare const DEFAULT_SYNC_SERVER: string;
declare const DEFAULT_FILES_SERVER: string;
declare const WEBSOCKET_URL: string;
declare const ENABLE_UNFINISHED_FEATURES: string;
declare const PURCHASE_URL: string;
Expand Down Expand Up @@ -46,7 +45,6 @@ window.purchaseUrl = PURCHASE_URL;
window.bridge = await createWebBridge(mainThread);
window.startApplication(
DEFAULT_SYNC_SERVER,
DEFAULT_FILES_SERVER,
window.bridge,
window.enableUnfinishedFeatures,
WEBSOCKET_URL
Expand Down
3 changes: 0 additions & 3 deletions webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,6 @@ module.exports = function ({
DEFAULT_SYNC_SERVER: JSON.stringify(
process.env.DEFAULT_SYNC_SERVER || 'https://api.standardnotes.com'
),
DEFAULT_FILES_SERVER: JSON.stringify(
process.env.DEFAULT_FILES_SERVER || 'https://files.standardnotes.com'
),
BUGSNAG_API_KEY: JSON.stringify(process.env.BUGSNAG_API_KEY),
PURCHASE_URL: JSON.stringify(process.env.PURCHASE_URL),
PLANS_URL: JSON.stringify(process.env.PLANS_URL),
Expand Down

0 comments on commit 866d1d3

Please sign in to comment.