17 lines
401 B
Python
17 lines
401 B
Python
|
# The public url for preventing
|
||
|
# Cross_origin bugs
|
||
|
PUBLIC_URL='127.0.0.1'
|
||
|
# Listen url
|
||
|
LISTEN_URL = '127.0.0.1'
|
||
|
|
||
|
# If filename exist, will try to append _XXXX to filename up to NMAX_EXTENSION
|
||
|
NMAX_EXTENSION = 100
|
||
|
|
||
|
# Maximum file size for upload
|
||
|
MAX_FILE_SIZE = 1024 #Mb
|
||
|
|
||
|
# Upload folder
|
||
|
import os.path
|
||
|
_here = os.path.dirname(os.path.realpath(__file__))
|
||
|
UPLOAD_FOLDER = os.path.join(_here, 'data')
|