Skip to content

Commit

Permalink
[APD-10021] Update urls to dashboard for Admob sync app and extension (
Browse files Browse the repository at this point in the history
…#93)

[APD-10021] Update urls to dashboard for Admob sync app and extension (#93)
  • Loading branch information
maksimroi authored Dec 16, 2020
1 parent 2600d84 commit 70ad45d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions chrome-extension/popup/components/Popup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import styles from './Popup.scss';

function SignInButton () {
return (<div className={styles.flexCenter}><h1>Sign in to continue</h1>
<div><a className="btn" target="_blank" href="https://www.appodeal.com/signin">Sign In</a></div>
<div><a className="btn" target="_blank" href="https://app.appodeal.com/signin">Sign In</a></div>
</div>);
}

Expand Down Expand Up @@ -69,7 +69,7 @@ export function Popup ({state}: { state: ExtensionState }) {
</section>
<footer className={showFooterAddButton ? '' : styles.onlyVersion}>
{showFooterAddButton &&
<a className={styles.addBtn} target="_blank" href={"https://www.appodeal.com/apps/linked_networks#AddAdmobAccount"}>Add another Admob account</a>}
<a className={styles.addBtn} target="_blank" href={"https://app.appodeal.com/apps/linked_networks#AddAdmobAccount"}>Add another Admob account</a>}
<small className={styles.version}>version {getExtensionVersion()}</small>
</footer>
</>;
Expand Down
3 changes: 1 addition & 2 deletions src/core/appdeal-api/auth-context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ export class AuthContext extends EventEmitter {

private static storage: JsonStorage;

public static readonly ready: Promise<void> = new Promise(() => {});
public static ready: Promise<void> = new Promise(() => {});

static async init (storage: JsonStorage) {
// @ts-ignore
return AuthContext.ready = new Promise<void>(async r => {
AuthContext.storage = storage;
AuthContext.TOKENS = new Map(Object.entries(await AuthContext.storage.load(this.TOKENS_FILE, {})));
Expand Down
2 changes: 1 addition & 1 deletion src/ui/components/accounts/AccountsComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export function AccountsComponent (
<div className={style.accountControls}>
<button type="button"
className={style.add}
onClick={() => shell.openExternal('https://www.appodeal.com/apps/linked_networks#AddAdmobAccount')}
onClick={() => shell.openExternal('https://app.appodeal.com/apps/linked_networks#AddAdmobAccount')}
disabled={!appodealAccount.email}
/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion webpack/development.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import path from 'path';
import * as path from 'path';
import webpack from 'webpack';
import merge from 'webpack-merge';
import {entriesConfig, SRC_PATH} from './default';
Expand Down

0 comments on commit 70ad45d

Please sign in to comment.