Added dicumentation

This commit is contained in:
Alexey Berezhok
2026-02-20 17:14:18 +03:00
parent c2b717bea6
commit 527ae63c7c
18 changed files with 338 additions and 35 deletions

View File

@@ -1,3 +1,20 @@
PER_PAGE = 30
LIFE_TOKEN = 300
ALLOWED_IPS = [
# Example: '192.168.1.10',
# Add allowed IP addresses here
'*'
]
PORT = 4567
IPBIND = '0.0.0.0'
if File.exist?('classes/config_custom.rb')
orig_verbose = $VERBOSE
$VERBOSE = nil
require_relative 'config_custom'
$VERBOSE = orig_verbose
end
LOCK_PATH = 'locks/lock'.freeze
GRANTED_UTILS = [
'utils/config.sh',
@@ -7,12 +24,3 @@ GRANTED_UTILS = [
'utils/make_server_revoke.sh',
'utils/prepare.sh'
].freeze
PER_PAGE = 30
LIFE_TOKEN = 300
ALLOWED_IPS = [
# Example: '192.168.1.10',
# Add allowed IP addresses here
'*'
]
PORT = 4567
IPBIND = '0.0.0.0'.freeze