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:
parent
820edd4213
commit
6023fe2b2b
1
build.py
1
build.py
@ -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
3
web/build/.htaccess
Normal file
@ -0,0 +1,3 @@
|
||||
<IfModule mod_expires.c>
|
||||
ExpiresActive Off
|
||||
</IfModule>
|
Loading…
Reference in New Issue
Block a user