Initial commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# Server port
|
||||
PORT=3000
|
||||
|
||||
# How many letters to keep in the DB (older ones are pruned)
|
||||
LETTERS_CACHE_SIZE=1000
|
||||
|
||||
# How often a new letter is generated (milliseconds)
|
||||
LETTER_GENERATION_INTERVAL=800
|
||||
|
||||
# Max phrase submissions per IP per hour
|
||||
MAX_SUBMISSIONS_PER_HOUR=1
|
||||
|
||||
# Max upvotes per IP per day
|
||||
MAX_UPVOTES_PER_DAY=10
|
||||
|
||||
# Print each generated letter to the console (true/false)
|
||||
LOG_LETTERS=false
|
||||
|
||||
# Path to the SQLite database file (defaults to monkey.db next to server.js)
|
||||
# DB_PATH=/data/monkey.db
|
||||
Reference in New Issue
Block a user