From a68aa031bbc8a03b0f8a0c001fd3c64f4c8de72d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Thu, 24 Jul 2025 09:54:18 +0200 Subject: [PATCH] poprawki w compose i kodzie --- .gitignore | 1 + docker-compose.yml | 4 ++-- static/js/functions.js | 2 +- templates/main.html | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 2e2fed2..62bde8f 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ instance/ uploads/ .DS_Store db/* +*.swp \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 32278c1..079a122 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -28,7 +28,7 @@ services: volumes: - ./db/pgsql:/var/lib/postgresql/data ports: - - "5432:5432" + - "5432" restart: unless-stopped hostname: db profiles: ["pgsql"] @@ -44,7 +44,7 @@ services: volumes: - ./db/mysql:/var/lib/mysql ports: - - "3306:3306" + - "3306" restart: unless-stopped hostname: db profiles: ["mysql"] diff --git a/static/js/functions.js b/static/js/functions.js index 522222e..6df9da8 100644 --- a/static/js/functions.js +++ b/static/js/functions.js @@ -123,7 +123,7 @@ function copyLink(link) { if (navigator.share) { navigator.share({ title: 'Udostępnij link', - text: 'Link do listy::', + text: 'Udostępniam link do listy:', url: link }).then(() => { showToast('Link udostępniony!'); diff --git a/templates/main.html b/templates/main.html index 6a96553..1891bc7 100644 --- a/templates/main.html +++ b/templates/main.html @@ -79,7 +79,7 @@ {% else %}

Nie masz jeszcze żadnych list. Utwórz pierwszą, korzystając - z formularza powyżej!

+ z formularza powyżej

{% endif %} {% endif %}