From 730f800d01f7f3bbbbedff6254c13b011f75ff52 Mon Sep 17 00:00:00 2001 From: talksik Date: Tue, 20 Aug 2019 23:17:57 -0700 Subject: [PATCH] proper routing to website --- src/components/MainCommand.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MainCommand.js b/src/components/MainCommand.js index 14c8bfc..d7c0b9c 100644 --- a/src/components/MainCommand.js +++ b/src/components/MainCommand.js @@ -205,7 +205,7 @@ class MainCommand extends Component { } else if (this.state.command == 'google') { // if they type chase.com it will go straight there if (commandInput.includes('.com')) { - window.open(commandInput, '_blank'); + window.open('https://' + commandInput, '_blank'); } else { window.open( 'https://www.google.com/search?q=' + commandInput,