1
0
mirror of https://github.com/chylex/Discord-History-Tracker.git synced 2025-04-10 17:15:43 +02:00

Add .htaccess to website build folder

This commit is contained in:
chylex 2021-03-28 14:54:28 +02:00
parent 820edd4213
commit 6023fe2b2b
2 changed files with 3 additions and 1 deletions

View File

@ -192,7 +192,6 @@ def build_website():
with open(index_file, "w") as index:
index.write(index_contents.replace("{{{version:web}}}", VERSION_SHORT.replace(" ", " ")))
os.makedirs("bld/web/build", exist_ok = True)
shutil.copyfile(tracker_file_html, "bld/web/build/track.html")
shutil.copyfile(tracker_file_userscript, "bld/web/build/track.user.js")
shutil.copyfile(viewer_file, "bld/web/build/viewer.html")

3
web/build/.htaccess Normal file
View File

@ -0,0 +1,3 @@
<IfModule mod_expires.c>
ExpiresActive Off
</IfModule>