CleverStack / angular-seed

The AngularJS based Modular Frontend for CleverStack, MEAN and so much more
http://youtube.com/watch?v=-4ArURHExhQ
MIT License
118 stars 36 forks source link

Make http-options change the server address using config files. #3

Closed leostera closed 11 years ago

leostera commented 11 years ago
leostera commented 11 years ago

I'm still thinking of what would be the best way for this: 1) Pinging a server is out of the question. 2) Having a different option in a different branch doesn't seem to plausible. 3) Having all the options in all the branches is definitely not something we want. If this gets deployed by error or someone happens to change which of the branches we are using they will be able to access a production server with a development client and that is not acceptable. 4) Having a grunt task to modify the http-options file is not something I'd want, thou we could rely on NODE_ENV for it.