summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-19 07:43:09 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-19 07:43:09 +0800
commit057f7ac151496b3b532fbe6e0824ce287d84054e (patch)
tree535c8872aae62b6063ed4f66ad9387a4f4c77287
parent603d4f0f85cac6942996c2c1f74672bd2c562e27 (diff)
Move everything up, no more web dir
-rw-r--r--.gitmodules3
-rw-r--r--Makefile.am (renamed from web/Makefile.am)0
-rw-r--r--configure.ac (renamed from web/configure.ac)2
m---------frontend (renamed from web/frontend)0
-rw-r--r--main.c (renamed from web/main.c)2
5 files changed, 5 insertions, 2 deletions
diff --git a/.gitmodules b/.gitmodules
index 511fb07..847c4d1 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,6 @@
[submodule "web/frontend"]
path = web/frontend
url = git://darapsa.org/shopify-frontend-template-html
+[submodule "frontend"]
+ path = frontend
+ url = git://darapsa.org/shopify-frontend-template-html
diff --git a/web/Makefile.am b/Makefile.am
index 310bd37..310bd37 100644
--- a/web/Makefile.am
+++ b/Makefile.am
diff --git a/web/configure.ac b/configure.ac
index 7ef439c..e7a4060 100644
--- a/web/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([shopify-app-template-c], [0.0], [erik@darapsa.co.id])
+AC_INIT([shopify-app-template-c], [0.0], [prabowo@darapsa.org])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_PROG_CC
PKG_CHECK_MODULES([DEPS], [libmicrohttpd libgcrypt gnutls libpcre2-8 libcurl json-c])
diff --git a/web/frontend b/frontend
-Subproject 023d6464cbf37774ea93dd950bda9350179dfab
+Subproject 023d6464cbf37774ea93dd950bda9350179dfab
diff --git a/web/main.c b/main.c
index e14ebe6..240d9bd 100644
--- a/web/main.c
+++ b/main.c
@@ -8,7 +8,7 @@ int main(int argc, char *argv[])
static const char *scope_rel = "/shopify.app.toml";
char scope[app_dir_len + strlen(scope_rel) + 1];
sprintf(scope, "%s%s", APP_DIR, scope_rel);
- static const char *index_rel = "/web/frontend/index.html";
+ static const char *index_rel = "/frontend/index.html";
char index[app_dir_len + strlen(index_rel) + 1];
sprintf(index, "%s%s", APP_DIR, index_rel);
shopify_app(API_KEY, API_SECRET_KEY, APP_URL, "/auth", APP_ID, scope,