spine / spine

Lightweight MVC library for building JavaScript applications

Home Page:http://spine.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support multiple remote hosts (override Spine.Model.host)

rdarrelbonner opened this issue · comments

I have an application where I'll be looking to interact with multiple servers and will need to ability to specify the host for each of the models.

My current thought is to specify the remote host on the model and have that value override the default Spine.Model.host.

yep, that should do it. You can also set a url prop on the model that includes the full path you intend to use for that model.

I am going to close the issue, just because there isn't really anything to do.