Skip to content

Commit

Permalink
chore(deps): update web and remove next version host
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonella Sgarlatta committed Jul 13, 2021
1 parent 416dea1 commit 3bdc581
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 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 } from '@web/services/bridge';

declare const BUGSNAG_API_KEY: string;
declare const DEFAULT_SYNC_SERVER: string;
declare const NEXT_VERSION_SYNC_SERVER: string;
declare global {
interface Window {
ElectronValence: any;
Expand Down Expand Up @@ -42,7 +41,6 @@ window._bugsnag_api_key = BUGSNAG_API_KEY;
// eslint-disable-next-line no-undef
DEFAULT_SYNC_SERVER || 'https://sync.standardnotes.org',
window.bridge,
NEXT_VERSION_SYNC_SERVER || 'https://api.standardnotes.com'
);

await new Promise((resolve) =>
Expand Down
2 changes: 1 addition & 1 deletion web
Submodule web updated from bd65ca to b1aeae
6 changes: 1 addition & 5 deletions webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,7 @@ module.exports = function ({
plugins: [
new webpack.DefinePlugin({
DEFAULT_SYNC_SERVER: JSON.stringify(
process.env.DEFAULT_SYNC_SERVER || 'https://sync.standardnotes.org'
),
NEXT_VERSION_SYNC_SERVER: JSON.stringify(
process.env.NEXT_VERSION_SYNC_SERVER ||
'https://api.standardnotes.com'
process.env.DEFAULT_SYNC_SERVER || 'https://api.standardnotes.com'
),
BUGSNAG_API_KEY: JSON.stringify(process.env.BUGSNAG_API_KEY),
EXPERIMENTAL_FEATURES,
Expand Down

0 comments on commit 3bdc581

Please sign in to comment.