diff --git a/.husky/post-commit b/.husky/post-commit new file mode 100644 index 0000000..7e63942 --- /dev/null +++ b/.husky/post-commit @@ -0,0 +1,6 @@ +# .husky/post-commit +#!/bin/sh +. "$(dirname "$0")/_/husky.sh" + +sh ./.husky/postcommit.sh + diff --git a/.husky/postcommit.sh b/.husky/postcommit.sh new file mode 100644 index 0000000..24607e8 --- /dev/null +++ b/.husky/postcommit.sh @@ -0,0 +1,8 @@ +#!/bin/sh +FILE="./client/wrangler.toml" +if [ -f "$FILE" ]; then + mv ~/tmp.wrangler.toml $FILE +else + echo "$FILE does not exist." +fi + diff --git a/.husky/pre-commit b/.husky/pre-commit index 1ca15f0..edd2f85 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -2,5 +2,4 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -sh ./.husky/precommit.sh - +sh ./.husky/precommit.sh \ No newline at end of file diff --git a/.husky/precommit.sh b/.husky/precommit.sh index 6eb3dce..996cf3e 100644 --- a/.husky/precommit.sh +++ b/.husky/precommit.sh @@ -1,6 +1,7 @@ #!/bin/sh FILE="./client/wrangler.toml" if [ -f "$FILE" ]; then + cp $FILE ~/tmp.wrangler.toml sed -i -e 's/account_id = ".*"/account_id = "**********"/' $FILE echo "$FILE updated" git add -A diff --git a/client/assets/pages.js b/client/assets/pages.js index 0b7e2d3..4e9db74 100644 --- a/client/assets/pages.js +++ b/client/assets/pages.js @@ -17,7 +17,7 @@ templates['body'] = template({"compiler":[8,">= 4.3.0"],"main":function(containe + " \r\n \r\n\r\n
\r\n Your name: " + alias3(((helper = (helper = lookupProperty(helpers,"name") || (depth0 != null ? lookupProperty(depth0,"name") : depth0)) != null ? helper : alias2),(typeof helper === "function" ? helper.call(alias1,{"name":"name","hash":{},"data":data,"loc":{"start":{"line":24,"column":44},"end":{"line":24,"column":52}}}) : helper))) + "\r\n
\r\n\r\n" - + alias3((lookupProperty(helpers,"asyncTest")||(depth0 && lookupProperty(depth0,"asyncTest"))||alias2).call(alias1,{"name":"asyncTest","hash":{"age":38,"name":"Vic Tester"},"data":data,"loc":{"start":{"line":27,"column":17},"end":{"line":27,"column":55}}})) + + alias3((lookupProperty(helpers,"asyncTest")||(depth0 && lookupProperty(depth0,"asyncTest"))||alias2).call(alias1,{"name":"asyncTest","hash":{"name":"Vic Tester"},"data":data,"loc":{"start":{"line":27,"column":17},"end":{"line":27,"column":48}}})) + "\r\n\r\n \r\n \r\n\r\n\r\n" + ((stack1 = container.invokePartial(lookupProperty(partials,"structure/footer"),depth0,{"name":"structure/footer","data":data,"helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "") + "