File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
etc/s6-overlay/s6-rc.d/cwa-auto-zipper Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ def cwa_switch_theme():
7272 config .config_default_show |= constants .DETAIL_RANDOM
7373
7474 config .save ()
75- return redirect ("/" , code = 302 )
75+ return redirect (url_for ( "web.index" ) , code = 302 )
7676
7777##————————————————————————————————————————————————————————————————————————————##
7878## ##
@@ -96,7 +96,7 @@ def cwa_library_refresh():
9696 else :
9797 flash (_ ("Library Refresh: An unexpected error occurred, check the logs." ), category = "cwa_refresh" )
9898
99- return redirect ("/" , code = 302 )
99+ return redirect (url_for ( "web.index" ) , code = 302 )
100100
101101##————————————————————————————————————————————————————————————————————————————##
102102## ##
@@ -688,4 +688,4 @@ def get_status():
688688 progress = extract_progress (status )
689689 statusList = {'status' :status ,
690690 'progress' :progress }
691- return json .dumps (statusList )
691+ return json .dumps (statusList )
Original file line number Diff line number Diff line change @@ -8,9 +8,11 @@ mkdir -p /config/processed_books/imported
88mkdir -p /config/processed_books/failed
99mkdir -p /config/processed_books/fixed_originals
1010mkdir -p /config/log_archive
11+ mkdir -p /config/.cwa_conversion_tmp
1112
1213chown -R abc:abc /config/processed_books
1314chown -R abc:abc /config/log_archive
15+ chown -R abc:abc /config/.cwa_conversion_tmp
1416
1517
1618tz=$( printcontenv TZ)
You can’t perform that action at this time.
0 commit comments