NodeGroup2 / autocomplete-project

An autocomplete app
https://nodetojoy-autocomplete.herokuapp.com/
MIT License
0 stars 2 forks source link

where to read the dictionary #22

Closed jbesraa closed 7 years ago

shiryz commented 7 years ago

The dictionary needs to be updated only once, which file should it be? server / handler??

marisid commented 7 years ago

It's in the server file and more specifically, before we start the server, so that the dictionary array is available in all subsequent modules that require it. Issue closed by previous pull request, as discussed earlier.