change view to image
This commit is contained in:
parent
52928e0507
commit
b28f473442
2 changed files with 4 additions and 4 deletions
|
@ -11,12 +11,12 @@ services:
|
||||||
#ports:
|
#ports:
|
||||||
# - "8080:8080"
|
# - "8080:8080"
|
||||||
environment:
|
environment:
|
||||||
- VIRTUAL_HOST=pick.brothertec.eu
|
- VIRTUAL_HOST=pick.brothertec.eu,upload.brothertec.eu
|
||||||
- VIRTUAL_PORT=8080
|
- VIRTUAL_PORT=8080
|
||||||
- LETSENCRYPT_HOST=pick.brothertec.eu
|
- LETSENCRYPT_HOST=pick.brothertec.eu,upload.brothertec.eu
|
||||||
- LETSENCRYPT_EMAIL=admin@brothertec.eu
|
- LETSENCRYPT_EMAIL=admin@brothertec.eu
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./uploads:/uploads
|
- ./uploads:/uploads
|
||||||
- ./templates:/templates
|
- ./templates:/templates
|
||||||
- ./static:/static
|
- ./static:/static
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<!-- Anzeigen des Links zum Bild, um es zu betrachten -->
|
<!-- Anzeigen des Links zum Bild, um es zu betrachten -->
|
||||||
<p><a href="/view/{{.Filename}}" target="_blank">Ihr Bild anzeigen</a></p>
|
<p><a href="/view/{{.Filename}}" target="_blank">Ihr Bild anzeigen</a></p>
|
||||||
<!-- Eingabefeld mit der URL des Bildes -->
|
<!-- Eingabefeld mit der URL des Bildes -->
|
||||||
<input type="text" value="https://pick.brothertec.eu/view/{{.Filename}}" id="imageURL" readonly>
|
<input type="text" value="https://pick.brothertec.eu/image/{{.Filename}}" id="imageURL" readonly>
|
||||||
<!-- Button, um die URL zu kopieren -->
|
<!-- Button, um die URL zu kopieren -->
|
||||||
<button id="copyButton">URL kopieren</button>
|
<button id="copyButton">URL kopieren</button>
|
||||||
<p><a href="/upload">Zurück zum Upload</a></p>
|
<p><a href="/upload">Zurück zum Upload</a></p>
|
||||||
|
|
Loading…
Reference in a new issue