1
0
Fork 0

download link fix

This commit is contained in:
Malte Jürgens 2022-09-30 18:55:45 +02:00
parent 803cfeb4df
commit f02b59e961
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,6 @@
{ {
"baseUrl": "https://glcdn.githack.com/maltejur/hsarch/-/raw/master/assets/files/", "baseUrl": "https://glcdn.githack.com/maltejur/hsarch/-/raw/master/assets/files/",
"downloadUrl": "https://gitlab.com/maltejur/hsarch/-/raw/master/assets/files/",
"hertzschlag": [ "hertzschlag": [
{ {
"Ausgabe": "1", "Ausgabe": "1",

View file

@ -50,10 +50,10 @@ export default function AusgabeHertzschlag(params) {
<button> <button>
<i class="fas fa-download"></i>Download <i class="fas fa-download"></i>Download
<div class="dropdown"> <div class="dropdown">
<a href="${json.baseUrl}hertzschlag/pdf/compressed/${ausg["Ausgabe"]}.pdf"> <a href="${json.downloadUrl}hertzschlag/pdf/compressed/${ausg["Ausgabe"]}.pdf">
<i class="fas fa-file-download"></i>Niedrige Qualität <i class="fas fa-file-download"></i>Niedrige Qualität
</a> </a>
<a href="${json.baseUrl}hertzschlag/pdf/${ausg["Ausgabe"]}.pdf"> <a href="${json.downloadUrl}hertzschlag/pdf/${ausg["Ausgabe"]}.pdf">
<i class="fas fa-file-download"></i>Hohe Qualität <i class="fas fa-file-download"></i>Hohe Qualität
</a> </a>
</div> </div>