-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: add REACT_APP_SENTRY_ENABLED to sample environment * fix: add SENTRY_ENABLED config variable
- Loading branch information
1 parent
73035a2
commit 65ddad0
Showing
8 changed files
with
77 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
ignores: [ "@graphql-codegen/client-preset", "@babel/plugin-proposal-private-property-in-object", "@graphql-codegen/cli", "@ianvs/prettier-plugin-sort-imports", "@mui/system", "@mui/utils", "account", "App", "assets", "collaboration", "common", "config", "contact", "custom-hooks", "eslint-config-react-app", "forms", "gis", "group", "home", "index.css", "landscape", "layout", "localization", "media", "monitoring", "navigation", "notifications", "permissions", "react-hoc", "rollbar", "sharedData", "slate", "storyMap", "stringUtils", "stylelint-prettier", "taxonomies", "terrasoApi", "tests", "theme", "timeUtils", "tool" ] | ||
ignores: [ "@graphql-codegen/client-preset", "@babel/plugin-proposal-private-property-in-object", "@graphql-codegen/cli", "@ianvs/prettier-plugin-sort-imports", "@mui/system", "@mui/utils", "account", "App", "assets", "collaboration", "common", "config", "contact", "custom-hooks", "eslint-config-react-app", "forms", "gis", "group", "home", "index.css", "landscape", "layout", "localization", "media", "monitoring", "navigation", "notifications", "permissions", "react-hoc", "rollbar", "sharedData", "slate", "storyMap", "stringUtils", "stylelint-prettier", "taxonomies", "terrasoApi", "tests", "theme", "timeUtils", "tool", "utils" ] |
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 |
---|---|---|
|
@@ -4,3 +4,4 @@ REACT_APP_PLAUSIBLE_DOMAIN=app.local.terraso.org | |
REACT_APP_MAPBOX_ACCESS_TOKEN= | ||
REACT_APP_SENTRY_DSN=https://[email protected]/abcd | ||
SENTRY_AUTH_TOKEN=sntrys_eyxxxxxxxxxxx | ||
REACT_APP_SENTRY_ENABLED=false |
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
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
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,20 @@ | ||
/* | ||
* Copyright © 2024 Technology Matters | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published | ||
* by the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see https://www.gnu.org/licenses/. | ||
*/ | ||
|
||
export const escapeStringRegex = input => { | ||
return input.replace(/[|\\{}()[\]^$+*?.]/g, '\\$&'); | ||
}; |