Added API router.php to gitignore override

This commit is contained in:
Victor Westerlund 2021-02-08 12:54:36 +01:00
parent b15983ceae
commit ca08e18965
2 changed files with 7 additions and 1 deletions

3
.gitignore vendored
View file

@ -1,4 +1,5 @@
.well-known/
api/endpoint/*
!api/endpoint/status.php
!api/endpoint/status.php
!api/endpoint/router.php

5
api/endpoint/router.php Normal file
View file

@ -0,0 +1,5 @@
<?php
header("Content-Type: application/json");
echo "{\"status\":\"404\",\"message\":\"Endpoint not found\"}";