Add link on homepage, tweak NGINX config

This commit is contained in:
Alex Thomassen 2023-10-16 15:21:42 +00:00
parent ea391d47ec
commit 16d3027a16
Signed by: Alex
GPG Key ID: 10BD786B5F6FF5DE
2 changed files with 4 additions and 1 deletions

View File

@ -14,7 +14,8 @@ server {
set_real_ip_from 10.0.0.0/8; set_real_ip_from 10.0.0.0/8;
real_ip_header X-Real-IP; real_ip_header X-Real-IP;
location ~ \.docker { # Deny access to hidden files/folders
location ~ /\. {
deny all; deny all;
} }

View File

@ -30,6 +30,8 @@
<img class="hidden" id="preview" src=""> <img class="hidden" id="preview" src="">
<a href="https://git.je/Alex/DiplomGenerator">Code can be found here</a>
<script> <script>
const form = document.getElementById('form'); const form = document.getElementById('form');
form.addEventListener('submit', function(e) { form.addEventListener('submit', function(e) {