summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,