Browse Source

update docs

Maurits van der Schee 5 years ago
parent
commit
9085280399
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      README.md

+ 2
- 2
README.md View File

@@ -70,7 +70,7 @@ These are all the configuration options and their default value between brackets
70 70
 - "password": Password of the user connecting to the database (no default)
71 71
 - "database": Database the connecting is made to (no default)
72 72
 - "middlewares": List of middlewares to load (`cors`)
73
-- "controllers": List of controllers to load (`records,openapi`)
73
+- "controllers": List of controllers to load (`records,geojson,openapi`)
74 74
 - "openApiBase": OpenAPI info (`{"info":{"title":"PHP-CRUD-API","version":"1.0.0"}}`)
75 75
 - "cacheType": `TempFile`, `Redis`, `Memcache`, `Memcached` or `NoCache` (`TempFile`)
76 76
 - "cachePath": Path/address of the cache (defaults to system's temp directory)
@@ -631,7 +631,7 @@ The following Geometry types are supported by the GeoJSON implementation:
631 631
   - Polygon
632 632
   - MultiPolygon
633 633
 
634
-NB: You need to add the "geojson" controller in the configuration to enable the GeoJSON functionality.
634
+The GeoJSON functionality is enabled by default, but can be disabled using the "controllers" configuration.
635 635
 
636 636
 ### Authentication
637 637
 

Loading…
Cancel
Save