diff options
Diffstat (limited to 'recipes/gotomeeting/webview.js')
-rw-r--r-- | recipes/gotomeeting/webview.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/recipes/gotomeeting/webview.js b/recipes/gotomeeting/webview.js index 6e0b370..097df0d 100644 --- a/recipes/gotomeeting/webview.js +++ b/recipes/gotomeeting/webview.js | |||
@@ -1,8 +1,11 @@ | |||
1 | const path = require('path'); | 1 | const _path = _interopRequireDefault(require('path')); |
2 | |||
3 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
2 | 4 | ||
3 | module.exports = Ferdi => { | 5 | module.exports = Ferdi => { |
4 | Ferdi.injectCSS(path.join(__dirname, 'service.css')); | 6 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); |
7 | |||
5 | if (document.location.href.match('after')) { | 8 | if (document.location.href.match('after')) { |
6 | document.location.href = 'https://app.gotomeeting.com/home.html'; | 9 | document.location.href = 'https://app.gotomeeting.com/home.html'; |
7 | } | 10 | } |
8 | }; | 11 | }; |