Browse Source

updated documentation for dataPath

Florian Rittmeier 7 years ago
parent
commit
f00d1df872
1 changed files with 2 additions and 2 deletions
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -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].