|
@@ -1,10 +1,10 @@
|
1
|
1
|
var articles;
|
2
|
|
-axios.get("136.145.231.32:8080")
|
|
2
|
+axios.get("http://136.145.231.32:8080/")
|
3
|
3
|
.then(response => {
|
4
|
4
|
articles = response.data;
|
5
|
5
|
for (let i = 0; i < articles.length; i++) {
|
6
|
6
|
let element = articles[i];
|
7
|
|
- axios.get(`136.145.231.32:8080/${element}`)
|
|
7
|
+ axios.get(`http://136.145.231.32:8080/${element}`)
|
8
|
8
|
.then(response => {
|
9
|
9
|
let articlesHeading = document.querySelector("#articles-heading").parentElement;
|
10
|
10
|
let articleButton = document.createElement("button");
|