Skip to content
Snippets Groups Projects
Commit f00d1df8 authored by florian's avatar florian
Browse files

updated documentation for dataPath

parent da8b7aee
Branches
No related tags found
No related merge requests found
......@@ -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].
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment