From d1d576edfa4077ae1cfedf83bfaa046af5698a4d Mon Sep 17 00:00:00 2001 From: nitowa Date: Sun, 11 Dec 2022 00:31:48 +0100 Subject: [PATCH] fix typo --- README.md | 2 +- gateway/index.html | 7 +++++-- package.json | 3 ++- src/Gateway.ts | 1 - src/frontend/src/index.html | 8 +++++++- 5 files changed, 15 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 78a232e..b2a7df4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Overview -httXrp is a proof of concept for a truly serverless web architecture. If serverless simply means "a server owned by someone else", httXrp pushes that definition to its limit -or- perhaps its logical conclusion: What if that "someone else" never even intended that server to be used that way but can't do anything about it? +httXrp is a proof of concept for a truly serverless web architecture. If cloud simply means "a server owned by someone else", httXrp pushes that definition to its limit -or- perhaps its logical conclusion: What if that "someone else" never even intended that server to be used that way but can't do anything about it? # How it works diff --git a/gateway/index.html b/gateway/index.html index 0c25048..4ec37c7 100644 --- a/gateway/index.html +++ b/gateway/index.html @@ -1,15 +1,18 @@ + + + - Loading ... +
Downloading the application from the blockchain
+ - \ No newline at end of file diff --git a/package.json b/package.json index ecaec94..bb8fd5f 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "build-gui": "cd src/frontend && npm run build", "copy-gui": "cp src/frontend/build/index.html gui", "webpack-gateway": "webpack --config webpack.gateway.js --progress && cp build/gateway/main.js gateway", - "deploy": "node ./lib/Deploy.js" + "deploy": "node ./lib/Deploy.js", + "github": "cp gateway/* ~/caisar.github.io && cd ~/caisar.github.io && git add -A && git commit -m \"update\" --allow-empty && git push origin master" }, "author": "", "license": "ISC", diff --git a/src/Gateway.ts b/src/Gateway.ts index e214313..3dae3d5 100644 --- a/src/Gateway.ts +++ b/src/Gateway.ts @@ -7,6 +7,5 @@ declare const DATA_HASH: string const api = new xrpIO("wss://s.altnet.rippletest.net:51233") api.connect().then(async _ => { const data = await api.treeRead([DATA_HASH]); - alert("Writing to document now") document.write(data) }) \ No newline at end of file diff --git a/src/frontend/src/index.html b/src/frontend/src/index.html index 5e1f8a6..813faca 100644 --- a/src/frontend/src/index.html +++ b/src/frontend/src/index.html @@ -1,6 +1,10 @@ + + + + httXrp @@ -11,6 +15,8 @@ - + +
Loading application state
+