diff --git a/INSTALL.md b/INSTALL.md index 6592bbc..9950666 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -22,7 +22,7 @@ The `config.json` file contains the config (it will be created at the 1st start) $ stack build $ stack exec guide -And go to . The status page is available at ; the admin page, at . +And go to . The status page is available at ; the admin page, at . # How to install on a server diff --git a/front/src/components/Category.js b/front/src/components/Category.js index 1191e3f..c03ea31 100644 --- a/front/src/components/Category.js +++ b/front/src/components/Category.js @@ -45,7 +45,7 @@ class Category extends Component { componentDidMount() { const uid = extractUid(this.props.match.params.uid); - fetchData('http://localhost:8080/haskell/api/category/'+uid) + fetchData('http://localhost:3080/haskell/api/category/'+uid) .then((data : T.Cat) => this.setState({cat: data})) } render() { @@ -74,7 +74,7 @@ class Category extends Component { -
{ +
{ this.state.cat.items .map(item => ) }
@@ -83,7 +83,7 @@ class Category extends Component { .Item { margin-top: 20px; } - + .category-info { display: block; box-sizing: border-box; @@ -102,9 +102,9 @@ class Category extends Component { .text-button::before {content: "[";} .text-button::after {content: "]";} - + .text-button > a:visited {color: #008ACE;} - h1 > a:visited {color: #008ACE;} + h1 > a:visited {color: #008ACE;} .category-info .group { font-size: 60%; diff --git a/front/src/components/Home.js b/front/src/components/Home.js index 7d1d41d..5c8dbaf 100644 --- a/front/src/components/Home.js +++ b/front/src/components/Home.js @@ -14,7 +14,7 @@ class Home extends Component { this.setState({ categories: [] }); } componentDidMount() { - fetchData('http://localhost:8080/haskell/api/all-categories') + fetchData('http://localhost:3080/haskell/api/all-categories') .then(data => this.setState({categories: data})) } render() {