-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 471c8cd
Showing
7 changed files
with
7,924 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.DS_Store | ||
node_modules |
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,21 @@ | ||
### Treblle Directus Extension | ||
|
||
[Treblle](https://treblle.com/) integration for [Directus](https://directus.io/), integrated as an extension in a form of hook, using `middlewares.after` event. | ||
|
||
#### Install | ||
|
||
``` | ||
npm install @treblle/directus-extension-treblle | ||
``` | ||
|
||
#### Configuration | ||
|
||
Use environment variables for providing Treblle credentials and configuration. Directus already supports `.env` file, so it enough to just append your variables there. | ||
|
||
``` | ||
TREBLLE_API_KEY=api_key | ||
TREBLLE_PROJECT_ID=project_id | ||
TREBLLE_SHOW_ERRORS=true | ||
TREBLLE_FIELDS_TO_MASK=["password"] | ||
``` | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.