From 01c157331e2b014551368f31172c879c8078bd62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Dvo=C5=99=C3=A1k?= <150935816+Dvorinka@users.noreply.github.com> Date: Fri, 23 May 2025 12:23:52 +0200 Subject: [PATCH] Add files via upload --- Makefile | 8 ++++---- kontakt/index.html | 2 +- main.go | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 521ad0f..6f37d60 100644 --- a/Makefile +++ b/Makefile @@ -120,7 +120,7 @@ monitor: ## Monitor the service with file watching @while true; do \ inotifywait -e modify contacts.xlsx 2>/dev/null && \ echo "File changed, reloading..." && \ - curl -X POST http://localhost:$(PORT)/kontakt/reload; \ + curl -X POST http://webportal:$(PORT)/kontakt/reload; \ sleep 1; \ done @@ -163,6 +163,6 @@ info: ## Show application information @echo "Build dir: $(BUILD_DIR)" @echo "" @echo "Endpoints:" - @echo " http://localhost:$(PORT)/kontakt - Web interface" - @echo " http://localhost:$(PORT)/kontakt/contacts - JSON API" - @echo " http://localhost:$(PORT)/kontakt/reload - Reload data (POST)" \ No newline at end of file + @echo " http://webportal:$(PORT)/kontakt - Web interface" + @echo " http://webportal:$(PORT)/kontakt/contacts - JSON API" + @echo " http://webportal:$(PORT)/kontakt/reload - Reload data (POST)" \ No newline at end of file diff --git a/kontakt/index.html b/kontakt/index.html index 6c2ec35..0583840 100644 --- a/kontakt/index.html +++ b/kontakt/index.html @@ -39,7 +39,7 @@