Initial commit: QR Code Generator with Docker support
This commit is contained in:
14
Caddyfile
Normal file
14
Caddyfile
Normal file
@@ -0,0 +1,14 @@
|
||||
:80 {
|
||||
root * /usr/share/caddy
|
||||
file_server
|
||||
|
||||
# Behandle die HTML-Datei als Index
|
||||
try_files {path} /Just%20a%20QR%20Code.html
|
||||
|
||||
# CORS-Header für Cross-Origin-Requests
|
||||
header {
|
||||
Access-Control-Allow-Origin *
|
||||
Access-Control-Allow-Methods "GET, POST, OPTIONS"
|
||||
Access-Control-Allow-Headers "Content-Type"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user