diff --git a/.gitignore b/.gitignore index 6ad63f7..57dcaeb 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,6 @@ _site vendor mmp .venv -venv .bundle src -assets/js/creations/server/data \ No newline at end of file +assets/js/creations/server/data diff --git a/scripts/handler/__pycache__/utils.cpython-312.pyc b/scripts/handler/__pycache__/utils.cpython-312.pyc index c6cf2da..b042a02 100644 Binary files a/scripts/handler/__pycache__/utils.cpython-312.pyc and b/scripts/handler/__pycache__/utils.cpython-312.pyc differ diff --git a/scripts/handler/utils.py b/scripts/handler/utils.py index a0c0251..927b705 100644 --- a/scripts/handler/utils.py +++ b/scripts/handler/utils.py @@ -7,10 +7,13 @@ import os #MMP_FOLDER = "/nethome/jotachina/projetos/src_mmpSearch/mmp" #MMPZ_FOLDER = "/nethome/jotachina/projetos/src_mmpSearch/mmpz" #WAV_FOLDER = "/nethome/jotachina/projetos/src_mmpSearch/wav" -BASE_PATH = "/var/html/www/trens/mmpSearch" -MMP_FOLDER = "/var/html/www/trens/mmpSearch/src_mmpSearch/mmp" -MMPZ_FOLDER = "/var/html/www/trens/mmpSearch/src_mmpSearch/mmpz" -WAV_FOLDER = "/var/html/www/trens/mmpSearch/src_mmpSearch/wav" +#### +# Corrigir caminhos do site global (user www-data) +#### +BASE_PATH = "/mmpSearch" +MMP_FOLDER = "src_mmpSearch/mmp" +MMPZ_FOLDER = "src_mmpSearch/mmpz" +WAV_FOLDER = "src_mmpSearch/wav" METADATA_FOLDER = os.path.join(BASE_PATH, "metadata") DATA_FOLDER = os.path.join(BASE_PATH, "_data") CERT_PATH = "/etc/letsencrypt/live/alice.ufsj.edu.br/fullchain.pem"