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