-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added web3go bot client modules scripts in docusaurus config * - added web3go config - fixed `reference window variable` error while starting the app --------- Co-authored-by: Deepanshu Gupta <[email protected]>
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import ExecutionEnvironment from "@docusaurus/ExecutionEnvironment"; | ||
|
||
if (ExecutionEnvironment.canUseDOM) { | ||
// Load Web3Go bot config as soon as site loads in the browser. | ||
window.dinChatbotConfig = { | ||
token: "F03vpUuT3em6KopZ", | ||
api: "https://reiki.web3go.xyz/aiweb", | ||
}; | ||
} |