aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/config.h')
-rw-r--r--app/src/config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/src/config.h b/app/src/config.h
index 0f2d5ed..e3aefc1 100644
--- a/app/src/config.h
+++ b/app/src/config.h
@@ -18,8 +18,12 @@
#define CONFIG_H
// server url config
+//#define SERVER_DOMAIN_IP "192.168.20.161"
+#define SERVER_DOMAIN_IP "202.7.19.45"
+
//#define SERVER_DOMAIN "192.168.20.161/webservice"
#define SERVER_DOMAIN "202.7.19.45/webservice"
+
//#define SERVER_DOMAIN "warehouse.tmc-tokai.jp/webservice"
#define SERVER_BASE_URL "/api/v1/app"
#define SERVER_API_LIST "/collection"
@@ -38,6 +42,10 @@
QString("http://%1%2/file?filePath=%3") \
.arg(SERVER_DOMAIN, SERVER_BASE_URL, path)
+#define getIconUrl(path) \
+ QString("http://%1%2") \
+ .arg(SERVER_DOMAIN_IP, path)
+
// server app page config
#define PAGE_SIZE 20