From dca149ec4e83363278224de2acf2a561de8d40b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Sat, 17 Nov 2018 01:29:12 +0100 Subject: [PATCH] move api to sub-dir --- .../model/ServerCommunication.java | 2 +- web/api/.gitignore | 2 ++ web/{ => api}/ack.php | 0 web/{ => api}/info.php | 0 web/{ => api}/lib/httpful.phar | Bin web/{ => api}/model.php | 0 web/{ => api}/register.php | 0 web/{ => api}/schema.sql | 0 web/{ => api}/send.php | 0 web/{ => api}/update.php | 0 web/{ => api}/upgrade.php | 0 11 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 web/api/.gitignore rename web/{ => api}/ack.php (100%) rename web/{ => api}/info.php (100%) rename web/{ => api}/lib/httpful.phar (100%) rename web/{ => api}/model.php (100%) rename web/{ => api}/register.php (100%) rename web/{ => api}/schema.sql (100%) rename web/{ => api}/send.php (100%) rename web/{ => api}/update.php (100%) rename web/{ => api}/upgrade.php (100%) diff --git a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/model/ServerCommunication.java b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/model/ServerCommunication.java index 18d7dc2..9e9d45e 100644 --- a/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/model/ServerCommunication.java +++ b/android/app/src/main/java/com/blackforestbytes/simplecloudnotifier/model/ServerCommunication.java @@ -22,7 +22,7 @@ import okhttp3.ResponseBody; public class ServerCommunication { - public static final String BASE_URL = /*SCNApp.LOCAL_DEBUG ? "http://localhost:1010/" : */"https://scn.blackforestbytes.com/"; + public static final String BASE_URL = /*SCNApp.LOCAL_DEBUG ? "http://localhost:1010/" : */"https://scn.blackforestbytes.com/api/"; private static final OkHttpClient client = new OkHttpClient(); diff --git a/web/api/.gitignore b/web/api/.gitignore new file mode 100644 index 0000000..e16ae46 --- /dev/null +++ b/web/api/.gitignore @@ -0,0 +1,2 @@ +config.php +.verify_accesstoken \ No newline at end of file diff --git a/web/ack.php b/web/api/ack.php similarity index 100% rename from web/ack.php rename to web/api/ack.php diff --git a/web/info.php b/web/api/info.php similarity index 100% rename from web/info.php rename to web/api/info.php diff --git a/web/lib/httpful.phar b/web/api/lib/httpful.phar similarity index 100% rename from web/lib/httpful.phar rename to web/api/lib/httpful.phar diff --git a/web/model.php b/web/api/model.php similarity index 100% rename from web/model.php rename to web/api/model.php diff --git a/web/register.php b/web/api/register.php similarity index 100% rename from web/register.php rename to web/api/register.php diff --git a/web/schema.sql b/web/api/schema.sql similarity index 100% rename from web/schema.sql rename to web/api/schema.sql diff --git a/web/send.php b/web/api/send.php similarity index 100% rename from web/send.php rename to web/api/send.php diff --git a/web/update.php b/web/api/update.php similarity index 100% rename from web/update.php rename to web/api/update.php diff --git a/web/upgrade.php b/web/api/upgrade.php similarity index 100% rename from web/upgrade.php rename to web/api/upgrade.php