Skip to content

Commit

Permalink
Update build-pwa.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RodrigoDornelles authored Oct 27, 2023
1 parent 97f26ec commit 529238a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-pwa.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
cdn = 'https://cdn.jsdelivr.net/gh/takahirox/[email protected]/build'
with requests.get(f'{cdn}/{file_name}', stream=True) as download:
file_name = file_name.replace(r'.min.js', '.js')
open(f'./html/{file_name}', "w").write(download.text)
open(f'./html/{file_name}', "x").write(download.text)

rom = b64(open(input, "rb").read()).decode()
html = open("./res/index.html", "r").read()
Expand Down

0 comments on commit 529238a

Please sign in to comment.