aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/site/src/views/index/Notepad/changelog.ts
diff options
context:
space:
mode:
Diffstat (limited to 'site/src/views/index/Notepad/changelog.ts')
-rw-r--r--site/src/views/index/Notepad/changelog.ts16
1 files changed, 0 insertions, 16 deletions
diff --git a/site/src/views/index/Notepad/changelog.ts b/site/src/views/index/Notepad/changelog.ts
deleted file mode 100644
index 111f8f2..0000000
--- a/site/src/views/index/Notepad/changelog.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-import axios from 'axios';
-
-export const getChangeLog = async() =>
-{
- const changeLog = axios.get('https://api.github.com/repos/HydroRoll-Team/HydroRoll/releases/latest')
- .then(res => {
- console.log(res.data);
- const ChangeLogMessage ="## "+ res.data['tag_name']+"\n"+res.data['body'];
- return ChangeLogMessage;
- })
- .catch(err => {
- console.log(err);
- return err.toString();
- })
- return changeLog;
-}