mirror of
https://github.com/Tygs/0bin.git
synced 2023-08-10 21:13:00 +03:00
Merge branch 'v2'
This commit is contained in:
commit
9558751f5a
6
pyproject.toml
Normal file
6
pyproject.toml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[build-system]
|
||||||
|
requires = [
|
||||||
|
"setuptools >= 40.9.0",
|
||||||
|
"wheel",
|
||||||
|
]
|
||||||
|
build-backend = "setuptools.build_meta"
|
@ -25,3 +25,6 @@ install_requires =
|
|||||||
* = static/img/*, static/css/*, static/js/*, view/*
|
* = static/img/*, static/css/*, static/js/*, view/*
|
||||||
hello = *.msg
|
hello = *.msg
|
||||||
|
|
||||||
|
[options.entry_points]
|
||||||
|
console_scripts =
|
||||||
|
zerobin = zerobin.cli:main
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Get error messages and auto reload.
|
# Get error messages and auto reload.
|
||||||
# Don't set this to True in production
|
# Don't set this to True in production
|
||||||
DEBUG = True
|
DEBUG = False
|
||||||
|
|
||||||
# Port and host for the embedded python server
|
# Port and host for the embedded python server
|
||||||
HOST = "127.0.0.1"
|
HOST = "127.0.0.1"
|
||||||
@ -9,18 +9,18 @@ PORT = "3255"
|
|||||||
# Names/links to insert in the footer.
|
# Names/links to insert in the footer.
|
||||||
#
|
#
|
||||||
MENU = (
|
MENU = (
|
||||||
("Create paste", "/"),
|
|
||||||
("Github", "https://github.com/Tygs/0bin"),
|
("Github", "https://github.com/Tygs/0bin"),
|
||||||
("Faq", "/faq/"), # You probably want to keep this
|
("Faq", "/faq/"), # You probably want to keep this
|
||||||
# Any link with "mailto:" will be escaped to limit spam, but displayed
|
# Any link with "mailto:" will be escaped to limit spam, but displayed
|
||||||
# correctly to the user using JS.
|
# correctly to the user using JS.
|
||||||
("Contact", "mailto:your@email.com"),
|
("Contact", "mailto:your@email.com"),
|
||||||
("Zerobin Pastebin", "https://www.0bin.net/"), # Thanks the authors :)
|
("Zerobin Pastebin", "https://www.0bin.net/"), # Thanks the authors :)
|
||||||
|
("How to buy Bitcoin?", "/buy_bitcoin"), # Thanks the authors :)
|
||||||
)
|
)
|
||||||
|
|
||||||
# Size limit of the paste content in bytes. Be careful, allowing a size too big can
|
# Size limit of the paste content in bytes. Be careful, allowing a size too big can
|
||||||
# slow down the user's browser
|
# slow down the user's browser
|
||||||
MAX_SIZE = 1024 * 600
|
MAX_SIZE = 1024 * 1000
|
||||||
|
|
||||||
# Display a tiny counter for pastes created.
|
# Display a tiny counter for pastes created.
|
||||||
DISPLAY_COUNTER = True
|
DISPLAY_COUNTER = True
|
||||||
|
Loading…
Reference in New Issue
Block a user