diff options
Diffstat (limited to 'backend')
-rw-r--r-- | backend/auth.php | 6 | ||||
-rw-r--r-- | backend/click.php | 6 | ||||
-rw-r--r-- | backend/index.php | 6 | ||||
-rw-r--r-- | backend/join.php | 6 |
4 files changed, 24 insertions, 0 deletions
diff --git a/backend/auth.php b/backend/auth.php index 36ddc86..497583f 100644 --- a/backend/auth.php +++ b/backend/auth.php @@ -1,4 +1,10 @@ <?php +/* hitler-clicker + * api for authentification + * © 2025 hitler.rip <git@hitler.rip> + * licensed under AGPLv3-or-later; see LICENSE.md for more information + */ + header('Content-Type: application/json; charset=UTF-8'); try { diff --git a/backend/click.php b/backend/click.php index 7b8a067..f871732 100644 --- a/backend/click.php +++ b/backend/click.php @@ -1,4 +1,10 @@ <?php +/* hitler-clicker + * api for incrementing counters + * © 2025 hitler.rip <git@hitler.rip> + * licensed under AGPLv3-or-later; see LICENSE.md for more information + */ + header('Content-Type: application/json; charset=UTF-8'); try { diff --git a/backend/index.php b/backend/index.php index 2aba190..dc97812 100644 --- a/backend/index.php +++ b/backend/index.php @@ -1,4 +1,10 @@ <?php +/* hitler-clicker + * api for setting up database and returning total team clicks + * © 2025 hitler.rip <git@hitler.rip> + * licensed under AGPLv3-or-later; see LICENSE.md for more information + */ + header('Content-Type: application/json; charset=UTF-8'); try { diff --git a/backend/join.php b/backend/join.php index 4a8c455..a2a106a 100644 --- a/backend/join.php +++ b/backend/join.php @@ -1,4 +1,10 @@ <?php +/* hitler-clicker + * api for user creation + * © 2025 hitler.rip <git@hitler.rip> + * licensed under AGPLv3-or-later; see LICENSE.md for more information + */ + header('Content-Type: application/json; charset=UTF-8'); try { |