-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- rate limiting - systemd DynamicUser compatibility (replaced SQLITE_FILE_NAME with SQLITE_FILE_PATH) - Update readme - Version info in api docs
- Loading branch information
1 parent
f43d364
commit 9560822
Showing
5 changed files
with
65 additions
and
28 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,9 +1,9 @@ | ||
# Name of the database file to write into. | ||
SQLITE_FILE_NAME="database.db" | ||
SQLITE_FILE_PATH="databases/database.db" | ||
|
||
# A list of secret keys. The server won't accept events that do not contain one of these keys in the request body. | ||
API_KEYS=["I-am-an-unsecure-dev-key-REPLACE_ME"] | ||
|
||
# Requests from the same IP above this rate will be rejected. | ||
# See https://limits.readthedocs.io/en/stable/quickstart.html#rate-limit-string-notation | ||
RATE_LIMIT="60/minute" | ||
RATE_LIMIT="60/minute" |
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