mirror of
https://codeberg.org/vlw/victorwesterlund.com.git
synced 2025-09-14 11:33:41 +02:00
Added API router.php to gitignore override
This commit is contained in:
parent
b15983ceae
commit
ca08e18965
2 changed files with 7 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,3 +2,4 @@
|
|||
|
||||
api/endpoint/*
|
||||
!api/endpoint/status.php
|
||||
!api/endpoint/router.php
|
5
api/endpoint/router.php
Normal file
5
api/endpoint/router.php
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?php
|
||||
|
||||
header("Content-Type: application/json");
|
||||
|
||||
echo "{\"status\":\"404\",\"message\":\"Endpoint not found\"}";
|
Loading…
Add table
Reference in a new issue