mirror of
https://github.com/Zandercraft/TechnicFlux.git
synced 2026-10-31 04:59:20 +00:00
Move different schemas and their related functions into their own modules.
This commit is contained in:
20
.env.example
20
.env.example
@@ -11,17 +11,17 @@
|
||||
# See https://www.mongodb.com/docs/manual/reference/connection-string/
|
||||
MONGODB_CONN_STRING="mongodb://localhost:27017/technicflux"
|
||||
|
||||
# (REQUIRED) Admin Username and Password
|
||||
# The username and password for the administrator account. CHANGE THIS!
|
||||
ADMIN_USER="flux"
|
||||
ADMIN_PASS="flux"
|
||||
|
||||
# (REQUIRED) The name of your TechnicFlux instance.
|
||||
NAME="A TechnicFlux Instance"
|
||||
|
||||
# (REQUIRED) The public hostname of the website (i.e. the full domain name without any path, http://, or https://)
|
||||
HOST="example.com"
|
||||
|
||||
# (REQUIRED) Admin Username and Password
|
||||
# The username and password for the administrator account. CHANGE THIS!
|
||||
ADMIN_USER="flux"
|
||||
ADMIN_PASS="flux"
|
||||
|
||||
# (REQUIRED) Solder API Key
|
||||
# 1. Go to https://www.technicpack.net/
|
||||
# 2. Sign into your account and navigate to Edit My Profile
|
||||
@@ -34,12 +34,18 @@ API_KEY=""
|
||||
# Unset behaviour: You will need to specify the author every time.
|
||||
AUTHOR_NAME="John Doe"
|
||||
|
||||
# --- Rate Limiting ---
|
||||
# With the default values, it would take approximately an average of 3.9462372476248917e+28 minutes*
|
||||
# to brute-force a single API key. If you want to increase the limit for other reasons (performance, etc.)
|
||||
# or are encountering issues and need to increase it, feel free to do so.
|
||||
# * This value may not be accurate. As per our license, I place no warranty or guaruntee on it.
|
||||
|
||||
# (Optional) API Rate-limit Requests
|
||||
# The number of requests that can be made to the API by one IP address within the set window before it will block them.
|
||||
# Default: 1000
|
||||
# Unset behaviour: Defaults to 1000
|
||||
API_RATE_REQUESTS=1000
|
||||
|
||||
# (Optional) API Rate-limit Window
|
||||
# The amount of time (in milliseconds) that the request limit is applied to.
|
||||
# Default: 60000
|
||||
# Unset behaviour: Defaults to 60000
|
||||
API_RATE_WINDOW=60000
|
||||
|
||||
Reference in New Issue
Block a user