1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 22:54:11 +00:00

Added SEAFILE_CONF_DIR environment var, and remove max_upload_file_size and http_server_root from settings

This commit is contained in:
zhengxie
2013-01-08 11:11:10 +08:00
parent e94fbd9954
commit ca5f21c585
5 changed files with 56 additions and 31 deletions

View File

@@ -169,7 +169,6 @@ REST_FRAMEWORK = {
}
# file and path
MAX_UPLOAD_FILE_SIZE = 100 * 1024 * 1024 # 100 MB
MAX_UPLOAD_FILE_NAME_LEN = 255
MAX_FILE_NAME = MAX_UPLOAD_FILE_NAME_LEN
MAX_PATH = 4096
@@ -180,9 +179,6 @@ ACTIVATE_AFTER_REGISTRATION = True
# In order to use email sending, `ACTIVATE_AFTER_REGISTRATION` must set to False
REGISTRATION_SEND_MAIL = False
# Seafile httpserver address and port
HTTP_SERVER_ROOT = "http://localhost:8082"
# Seafile-applet address and port, used in repo download
CCNET_APPLET_ROOT = "http://localhost:13420"