diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3c0216e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +app-env \ No newline at end of file diff --git a/README.md b/README.md index a8c593f..49f5bfe 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ # server-info -Page to display info about my server - -API is avalible at https://srv-info-api.flolon.cc/info.php +Page to display info about my VPS server from Vultr's API diff --git a/api/info.php b/api/info.php new file mode 100644 index 0000000..793a1c9 --- /dev/null +++ b/api/info.php @@ -0,0 +1,25 @@ +instances; + +echo json_encode($serverInfo[0]); + +?> \ No newline at end of file diff --git a/index.html b/index.html index 6258d10..5990491 100644 --- a/index.html +++ b/index.html @@ -1,333 +1,330 @@ -
- - - - - -