diff options
author | bobzel <zzzman@gmail.com> | 2022-09-19 12:47:20 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-09-19 12:47:20 -0400 |
commit | 694a93f26cf4780163d3c74ca509425193c30c62 (patch) | |
tree | 1bd57f1af533d4e39daa36bec298a33d2dd1681b /src | |
parent | 6290c9147b4aead8b0253aa958f086752b397a4f (diff) | |
parent | bace299ea2c688366dd7ec7b28231563c42ccc2e (diff) |
Merge branch 'master' of https://github.com/brown-dash/Dash-Web
Diffstat (limited to 'src')
-rw-r--r-- | src/client/util/ReportManager.tsx | 2 | ||||
-rw-r--r-- | src/client/views/Main.tsx | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/client/util/ReportManager.tsx b/src/client/util/ReportManager.tsx index 180d8294f..c00fe6bfe 100644 --- a/src/client/util/ReportManager.tsx +++ b/src/client/util/ReportManager.tsx @@ -57,7 +57,7 @@ export class ReportManager extends React.Component<{}> { ReportManager.Instance = this; this.octokit = new Octokit({ - auth: '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' + auth: process.env.GH_TOKEN }); } diff --git a/src/client/views/Main.tsx b/src/client/views/Main.tsx index 4cb1183d0..3e6539c5e 100644 --- a/src/client/views/Main.tsx +++ b/src/client/views/Main.tsx @@ -14,6 +14,8 @@ import { ReplayMovements } from '../util/ReplayMovements'; import { TrackMovements } from '../util/TrackMovements'; import { CollectionView } from './collections/CollectionView'; import { MainView } from './MainView'; +import * as dotenv from 'dotenv' // see https://github.com/motdotla/dotenv#how-do-i-use-dotenv-with-import +dotenv.config(); AssignAllExtensions(); |