diff --git a/config.js b/config.js index 6a3353d0052747763d83d828e48d754088819e0a..a6423fa2f24afeae10c9c5af524399476cd735b9 100644 --- a/config.js +++ b/config.js @@ -2,5 +2,5 @@ module.exports = { server_url: `${location.origin}${ location.origin.charAt(location.origin.length - 1) !== "/" ? "/" : "" }`, - in_construction: true, + in_construction: false, }; diff --git a/public/games/games.js b/public/games/games.js index 4423ba45fbcd5ed5771742f0b90d5bfcbfde1cc6..50a7e1566ca6bab66711f62c2635dbcdfff5080b 100644 --- a/public/games/games.js +++ b/public/games/games.js @@ -411,7 +411,7 @@ class GameArticles { } loadArticles() { - loadArticles(`${articles_url}/games`) + loadArticles(`${articles_url}games`) .then(articles => { Promise.all( articles.map(async a => { diff --git a/public/main.js b/public/main.js index 44809bb05e7ccc2f25080ffd5f13ca7f0f865e0d..87e129abd86c3f90ee22af952cc2f354a2c969ba 100644 --- a/public/main.js +++ b/public/main.js @@ -103,7 +103,7 @@ class NewsArticles { } loadArticles() { - loadArticles(`${articles_url}/news`).then(articles => { + loadArticles(`${articles_url}news`).then(articles => { this.state.articles = articles; this.state.showArticleIndex = this.state.articles.length - 1; this.refresh(); diff --git a/public/software-development/software-development.js b/public/software-development/software-development.js index 7259447907e413d34c1bdcf200fcc6dac82cea0a..56856fefe2ccab22866abf962f0fe0a642e1fc08 100644 --- a/public/software-development/software-development.js +++ b/public/software-development/software-development.js @@ -400,7 +400,7 @@ class SoftwareArticles { } loadArticles() { - loadArticles(`${articles_url}/software`) + loadArticles(`${articles_url}software`) .then(articles => { this.state.articles = articles; this.refresh(); diff --git a/src/home-page-components/news-articles.js b/src/home-page-components/news-articles.js index 9ec021914f6d21657f752f8d1e415ed5d823ae2f..66977d4b1b8efdf3c7d072144d2c3e2c81565999 100644 --- a/src/home-page-components/news-articles.js +++ b/src/home-page-components/news-articles.js @@ -17,7 +17,7 @@ class NewsArticles { } loadArticles() { - loadArticles(`${articles_url}/news`).then(articles => { + loadArticles(`${articles_url}news`).then(articles => { this.state.articles = articles; this.state.showArticleIndex = this.state.articles.length - 1; this.refresh(); diff --git a/src/pages/games/components/game-articles.js b/src/pages/games/components/game-articles.js index e80d8c709e5b274bca672e6dbb24cb0ed578ba35..db633f0a31f9dd33a1c5903047dbffd3110c99b3 100644 --- a/src/pages/games/components/game-articles.js +++ b/src/pages/games/components/game-articles.js @@ -16,7 +16,7 @@ class GameArticles { } loadArticles() { - loadArticles(`${articles_url}/games`) + loadArticles(`${articles_url}games`) .then(articles => { Promise.all( articles.map(async a => { diff --git a/src/pages/software-development/components/software-articles.js b/src/pages/software-development/components/software-articles.js index 0d0254d1598becd7d6ac488fadb65acc3893d225..4793a2e13abdbe9c3cdef4e7310ff90a2c9ce45f 100644 --- a/src/pages/software-development/components/software-articles.js +++ b/src/pages/software-development/components/software-articles.js @@ -129,7 +129,7 @@ class SoftwareArticles { } loadArticles() { - loadArticles(`${articles_url}/software`) + loadArticles(`${articles_url}software`) .then(articles => { this.state.articles = articles; this.refresh();