CHANGE env variable DESCRIPTION and FIX README formatting in the LICENSE section
This commit is contained in:
parent
08c8dd075b
commit
8531d09a04
2 changed files with 15 additions and 13 deletions
26
README.md
26
README.md
|
@ -30,6 +30,8 @@
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
Check [linedump.com](https://linedump.com) for now - coming soon.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
@ -41,7 +43,7 @@ Use with reverse-proxy and HTTPS!
|
||||||
| Variable | Description | Default | Required |
|
| Variable | Description | Default | Required |
|
||||||
|----------|-------------|---------|----------|
|
|----------|-------------|---------|----------|
|
||||||
| `DOMAIN` | Domain name used in the application responses and examples | `linedump.com` | No |
|
| `DOMAIN` | Domain name used in the application responses and examples | `linedump.com` | No |
|
||||||
| `DESCRIPTION` | Application description displayed in the root endpoint | `(open source*) text-only CLI paste and share application.` | No |
|
| `DESCRIPTION` | Application description displayed in the root endpoint | `CLI-only pastebin powered by linedump.com` | No |
|
||||||
| `MAX_FILE_SIZE_MB` | Maximum file size limit in megabytes | `50` | No |
|
| `MAX_FILE_SIZE_MB` | Maximum file size limit in megabytes | `50` | No |
|
||||||
| `RATE_LIMIT` | Rate limit for uploads (format: "requests/timeframe") | `50/hour` | No |
|
| `RATE_LIMIT` | Rate limit for uploads (format: "requests/timeframe") | `50/hour` | No |
|
||||||
| `URL_PATH_LENGTH` | Length of generated URL paths (number of characters) | `6` | No |
|
| `URL_PATH_LENGTH` | Length of generated URL paths (number of characters) | `6` | No |
|
||||||
|
@ -57,17 +59,17 @@ For security concerns or reports, please contact via `hello a t uphillsecurity d
|
||||||
## License
|
## License
|
||||||
|
|
||||||
**Apache License**
|
**Apache License**
|
||||||
|
|
||||||
Version 2.0, January 2004
|
Version 2.0, January 2004
|
||||||
|
|
||||||
http://www.apache.org/licenses/
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
[LICENSE FILE](/LICENSE)
|
- ✅ Commercial use
|
||||||
|
- ✅ Modification
|
||||||
✅ Commercial use
|
- ✅ Distribution
|
||||||
✅ Modification
|
- ✅ Patent use
|
||||||
✅ Distribution
|
- ✅ Private use
|
||||||
✅ Patent use
|
- ✅ Limitations
|
||||||
✅ Private use
|
- ❌Trademark use
|
||||||
✅ Limitations
|
- ❌Liability
|
||||||
❌Trademark use
|
- ❌Warranty
|
||||||
❌Liability
|
|
||||||
❌Warranty
|
|
||||||
|
|
2
main.py
2
main.py
|
@ -15,7 +15,7 @@ import threading
|
||||||
|
|
||||||
|
|
||||||
DOMAIN = os.getenv('DOMAIN', 'linedump.com')
|
DOMAIN = os.getenv('DOMAIN', 'linedump.com')
|
||||||
DESCRIPTION = os.getenv('DESCRIPTION', '(open source*) text-only CLI paste and share application.')
|
DESCRIPTION = os.getenv('DESCRIPTION', 'CLI-only pastebin powered by linedump.com')
|
||||||
MAX_FILE_SIZE_MB = int(os.getenv('MAX_FILE_SIZE_MB', '50'))
|
MAX_FILE_SIZE_MB = int(os.getenv('MAX_FILE_SIZE_MB', '50'))
|
||||||
RATE_LIMIT = os.getenv('RATE_LIMIT', '50/hour')
|
RATE_LIMIT = os.getenv('RATE_LIMIT', '50/hour')
|
||||||
URL_PATH_LENGTH = int(os.getenv('URL_PATH_LENGTH', '6'))
|
URL_PATH_LENGTH = int(os.getenv('URL_PATH_LENGTH', '6'))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue