Appleseed / leaves.lite

Leaves.Lite presents a searchable web interface to links and bookmarks curated / organized in JSON or fed by a REST API.
Apache License 2.0
5 stars 10 forks source link

leaves - devops - use environment variables in composition for base_url and token #91

Closed xingh closed 6 years ago

xingh commented 6 years ago

$scope.base_url = 'http://leaves.anant.us:82' $scope.card_view = true $rootScope.readerFromInbox = true $rootScope.listArray = [] $rootScope.tempArray = [] $rootScope.leaves = [] $scope.token = 'XXXXXX'

currently, anywhere its using http://leaves.anant.us:82 should be an environment variable same with the token above.

It's in this code base here..

https://github.com/Appleseed/leaves.lite/blob/master/leaves.app/client/js/controllers.js

mddanishyusuf commented 6 years ago

done.