mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-28 00:17:12 +01:00
README cleanup
This commit is contained in:
parent
86e168ec84
commit
43adb7291d
@ -1,4 +1,6 @@
|
||||
# unleash-server [](https://travis-ci.org/finn-no/unleash) [](https://codeclimate.com/github/finn-no/unleash) [](https://coveralls.io/r/finn-no/unleash?branch=master) [](https://david-dm.org/finn-no/unleash) [](https://david-dm.org/finn-no/unleash#info=devD)
|
||||
# unleash-server
|
||||
|
||||
[](https://travis-ci.org/finn-no/unleash) [](https://codeclimate.com/github/finn-no/unleash) [](https://coveralls.io/r/finn-no/unleash?branch=master) [](https://david-dm.org/finn-no/unleash) [](https://david-dm.org/finn-no/unleash#info=devD)
|
||||
|
||||
unleash-server is a place to ask for the status of features.
|
||||
|
||||
@ -12,7 +14,7 @@ GRANT ALL PRIVILEGES ON DATABASE unleash to unleash_user;
|
||||
SQL
|
||||
```
|
||||
|
||||
Then set up your DATABASE_URI env.var:
|
||||
Then set DATABASE_URI env var:
|
||||
```
|
||||
export DATABASE_URL=postgres://unleash_user:passord@localhost:5432/unleash
|
||||
```
|
||||
|
@ -35,7 +35,6 @@ var FeatureTogglesComponent = React.createClass({
|
||||
|
||||
handleError: function (error) {
|
||||
if (this.isClientError(error)) {
|
||||
// TODO: catch SyntaxError
|
||||
var errors = JSON.parse(error.responseText)
|
||||
errors.forEach(function(e) { this.addError(e.msg); }.bind(this))
|
||||
} else if (error.status === 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user