diff --git a/config.py b/config.py index 3d75855..990a05b 100644 --- a/config.py +++ b/config.py @@ -3,8 +3,8 @@ from werkzeug.security import generate_password_hash #CONTENT_BASE_DIR = os.getenv("CONTENT_BASE_DIR", "/library") #docker #CONTENT_BASE_DIR = os.getenv("CONTENT_BASE_DIR", "/home/drudoo/ComicsTest/Comics") #linux -#CONTENT_BASE_DIR = os.getenv("CONTENT_BASE_DIR", "/Comics/ComicRack") #windows -CONTENT_BASE_DIR = os.getenv("CONTENT_BASE_DIR", "testlibrary") #windows test library +CONTENT_BASE_DIR = os.getenv("CONTENT_BASE_DIR", "/Comics/ComicRack") #windows +#CONTENT_BASE_DIR = os.getenv("CONTENT_BASE_DIR", "testlibrary") #windows test library THUMBNAIL_DIR = os.getenv("THUMBNAIL_DIR",'thumbnails') diff --git a/main.py b/main.py index 62c7014..d5c03dc 100644 --- a/main.py +++ b/main.py @@ -149,6 +149,10 @@ def image(path): @app.route("/catalog/") @auth.login_required def catalog(path=""): + config._print("path: " + path) + config._print("root_url: " + request.root_url) + config._print("url: " + request.url) + config._print("CONTENT_BASE_DIR: " + config.CONTENT_BASE_DIR) #print("PRESSED ON") start_time = timeit.default_timer() #print(request.root_url)