diff --git a/backend/backend b/backend/backend deleted file mode 100755 index dc721c4..0000000 Binary files a/backend/backend and /dev/null differ diff --git a/backend/date_link.txt b/backend/date_link.txt index e815aba..8838034 100644 --- a/backend/date_link.txt +++ b/backend/date_link.txt @@ -1,2 +1,25 @@ +27-11-2024;https://vyme.fr 01-12-2024;https://vyme.fr -07-11-2024;https://vyme.fr \ No newline at end of file +02-12-2024;https://vyme.fr +03-12-2024; +04-12-2024; +05-12-2024; +06-12-2024; +07-12-2024; +08-12-2024; +09-12-2024; +10-12-2024; +11-12-2024; +12-12-2024; +13-12-2024; +14-12-2024; +15-12-2024; +16-12-2024; +17-12-2024; +18-12-2024; +19-12-2024; +20-12-2024; +21-12-2024; +22-12-2024; +23-12-2024; +24-12-2024; \ No newline at end of file diff --git a/backend/main.go b/backend/main.go index 21e5193..acad935 100644 --- a/backend/main.go +++ b/backend/main.go @@ -53,10 +53,10 @@ func getDayAndLink(c *gin.Context) { log.Fatalf("Error reading file: %v", err) } - link, exists := links[date] - if !exists { + link/*, exists*/ := links[date] + /*if !exists { link = "https://instagram.com/appen_isen" - } + }*/ c.JSON(200, LinkAndDate{Link: link, Date: date}) } diff --git a/frontend/index.html b/frontend/index.html index 9884734..788a726 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -16,7 +16,7 @@