Skip to content

Commit 6c15a5f

Browse files
committed
Add GeoJSON leaflet example
1 parent 7576b2f commit 6c15a5f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

api.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -4366,6 +4366,7 @@ public function __construct(string $driver)
43664366
'bit varying' => 'bit',
43674367
'box' => 'geometry',
43684368
'bytea' => 'blob',
4369+
'bpchar' => 'char',
43694370
'character varying' => 'varchar',
43704371
'character' => 'char',
43714372
'cidr' => 'varchar',
@@ -7334,7 +7335,7 @@ class Config
73347335
'password' => null,
73357336
'database' => null,
73367337
'middlewares' => 'cors',
7337-
'controllers' => 'records,openapi',
7338+
'controllers' => 'records,geojson,openapi',
73387339
'cacheType' => 'TempFile',
73397340
'cachePath' => '',
73407341
'cacheTime' => 10,

src/Tqdev/PhpCrudApi/Config.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class Config
1111
'password' => null,
1212
'database' => null,
1313
'middlewares' => 'cors',
14-
'controllers' => 'records,openapi',
14+
'controllers' => 'records,geojson,openapi',
1515
'cacheType' => 'TempFile',
1616
'cachePath' => '',
1717
'cacheTime' => 10,

0 commit comments

Comments
 (0)