diff --git a/.gitignore b/.gitignore index 29789c4..98cb172 100644 --- a/.gitignore +++ b/.gitignore @@ -400,3 +400,9 @@ _deps .nfs* # End of https://www.toptal.com/developers/gitignore/api/c++,linux,clion,cmake,clion+all + +docker-compose.yml +github-ntfy/ +github-ntfy/* + +*.db \ No newline at end of file diff --git a/index.html b/index.html index 36eae18..21b9d79 100644 --- a/index.html +++ b/index.html @@ -9,8 +9,8 @@

Github-Ntfy

-
-
+
+

Add a github repo

@@ -34,23 +34,23 @@
-

Watched Repositories

+

Watched Github Repositories

-
-

Add a github repo

+
+

Add a docker repo

-

Name of the github repo

+

Name of the docker repo

- github.com/ + hub.docker.com/r/
@@ -64,7 +64,7 @@
-

Watched Repositories

+

Watched Docker Repositories

diff --git a/ntfy_api.py b/ntfy_api.py index 3a33bb4..ad995dd 100644 --- a/ntfy_api.py +++ b/ntfy_api.py @@ -86,7 +86,7 @@ def get_watched_repos(): @app.route('/watched_docker_repos', methods=['GET']) -def get_watched_repos(): +def get_watched_docker_repos(): db = get_db_connection() cursor = db.cursor() cursor.execute("SELECT repo FROM docker_watched_repos") @@ -126,7 +126,7 @@ def delete_repo(): @app.route('/delete_docker_repo', methods=['POST']) -def delete_repo(): +def delete_docker_repo(): data = request.json repo = data.get('repo')