hoodiehq / ember-hoodie

Build awesome offline-first Ember apps with Hoodie!
MIT License
17 stars 6 forks source link

fix: make it possible to use Hoodie Client only #80

Open aleksip opened 7 years ago

aleksip commented 7 years ago

If ENV.hoodie contains only configuration for the client, hoodieMiddleware() still tries to start Hoodie Server, which results in an error. This PR changes the check to be specific to the server configuration only.