mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 22:54:27 -04:00
use absolute paths instead of relative
This commit is contained in:
parent
734c99cfdb
commit
597a5f6997
2 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,9 @@ INDEX_ROW_TEMPLATE = os.getenv('INDEX_ROW_TEMPLATE', 'templates/index_ro
|
|||
|
||||
### Output Paths
|
||||
ROOT_FOLDER = os.path.dirname(os.path.abspath(__file__))
|
||||
HTML_FOLDER = os.path.join(ARCHIVE_DIR, 'html')
|
||||
HTML_FOLDER = os.path.join(ROOT_FOLDER, ARCHIVE_DIR, 'html')
|
||||
ARCHIVE_FOLDER = os.path.join(HTML_FOLDER, 'archive')
|
||||
os.chdir(ROOT_FOLDER)
|
||||
|
||||
# ******************************************************************************
|
||||
# ********************** Do not edit below this point **************************
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue