aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Api.js15
-rw-r--r--test0
2 files changed, 0 insertions, 15 deletions
diff --git a/src/Api.js b/src/Api.js
deleted file mode 100644
index 3999b7a..0000000
--- a/src/Api.js
+++ /dev/null
@@ -1,15 +0,0 @@
-async function getBoards() {
- var ret = await fetch("https://bienvenidoainternet.org/cgi/api/boards")
- .then(response => {
- return response.json();
- })
- .then(resource => {
- //console.log(resource["boards"]);
- return resource["boards"];
- })
- .catch(console.error);
-
- return ret;
-}
-
-export default getBoards;
diff --git a/test b/test
deleted file mode 100644
index e69de29..0000000
--- a/test
+++ /dev/null