Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Open external URLs on openUrl event - Closes #787 #788

Merged
merged 6 commits into from
Oct 2, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use extrenalLinks utility in main
reyraa committed Sep 28, 2017
commit fd64c8772773416d7ef673f2645c7ce432200915
2 changes: 2 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
@@ -8,10 +8,12 @@ import App from './components/app';
import store from './store';
import i18n from './i18n'; // initialized i18next instance
import proxyLogin from './utils/proxyLogin';
import externalLinks from './utils/externalLinks';
import env from './constants/env';

if (env.production) {
proxyLogin.init();
externalLinks.init();
}

const rootElement = document.getElementById('app');