|
@@ -50,9 +50,9 @@ This will generate `build/` containing all required files.
|
|
|
|
|
|
Copy `config.json.example` to `build/config.json` and change it to match your community.
|
|
|
|
|
|
-## dataPath (string)
|
|
|
+## dataPath (string/array)
|
|
|
|
|
|
-`dataPath` must point to a directory containing `nodes.json` and `graph.json`
|
|
|
+`dataPath` can be either a string point to a directory or an array pointing to multiple directories. Each directory contains `nodes.json` and `graph.json`
|
|
|
(both are generated by
|
|
|
[ffmap-backend](https://github.com/ffnord/ffmap-backend)). Don't forget the
|
|
|
trailing slash! Data may be served from a different domain with [CORS enabled].
|