-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #733 from 2anki/chore/add-env-example
chore: add env example
- Loading branch information
Showing
5 changed files
with
25 additions
and
5 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,15 @@ | ||
NOTION_CLIENT_ID='' | ||
NOTION_CLIENT_SECRET='' | ||
NOTION_REDIRECT_URI='' | ||
SENDGRID_API_KEY='' | ||
PATREON_CLIENT_ID='' | ||
PATREON_CLIENT_SECRET='' | ||
PATREON_CLIENT_REDIRECT='' | ||
THE_HASHING_SECRET='' | ||
DOMAIN='' | ||
WEB_BUILD_DIR='' | ||
WORKSPACE_BASE='' | ||
CREATE_DECK_DIR='' | ||
SPACES_DEFAULT_BUCKET_NAME='' | ||
SPACES_ENDPOINT='' | ||
WORKSPACE_BASE='' |
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 |
---|---|---|
@@ -1,2 +1,6 @@ | ||
/** | ||
* If the default bucket is not set, we can safely assume we are running in debug mode. | ||
* @returns boolean | ||
*/ | ||
export const IsDebug = () => | ||
process.env.SPACES_DEFAULT_BUCKET_NAME == 'dev.2anki.net'; | ||
process.env.SPACES_DEFAULT_BUCKET_NAME === undefined; |