Merge pull request #2998 from ntimo/task/api-docs

[Web] Added API docs
master
André Peters 2019-10-03 11:12:47 +02:00 committed by GitHub
commit 8d1c6e5f49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -76,6 +76,10 @@ server {
rewrite ^(.*)$ $1.php last;
}
location /api/ {
try_files /_apidocs.html;
}
location ~ ^/api/v1/(.*)$ {
try_files $uri $uri/ /json_api.php?query=$1;
}

File diff suppressed because one or more lines are too long