fix typo
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# Overview
|
# 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
|
# How it works
|
||||||
|
|
||||||
|
|||||||
+5
-2
@@ -1,15 +1,18 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<script src="https://bundle.run/browserify-zlib@0.2.0"></script>
|
<script src="https://bundle.run/browserify-zlib@0.2.0"></script>
|
||||||
<script src="https://bundle.run/buffer@6.0.3"></script>
|
<script src="https://bundle.run/buffer@6.0.3"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/ripple-lib@1.10.0/build/ripple-latest-min.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/ripple-lib@1.10.0/build/ripple-latest-min.min.js"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/xrpl@2.1.1"></script>
|
<script src="https://cdn.jsdelivr.net/npm/xrpl@2.1.1"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/xrpio@0.1.7/lib/browser/xrpio.browser.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/xrpio@0.1.7/lib/browser/xrpio.browser.js"></script>
|
||||||
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css" integrity="sha384-DyZ88mC6Up2uqS4h/KRgHuoeGwBcD4Ng9SiP4dIRy0EXTlnuz47vAwmeGwVChigm" crossorigin="anonymous"/>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
Loading ...
|
<div style="text-align: center;">Downloading the application from the blockchain</div>
|
||||||
</body>
|
|
||||||
<script src="main.js"></script>
|
<script src="main.js"></script>
|
||||||
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
+2
-1
@@ -12,7 +12,8 @@
|
|||||||
"build-gui": "cd src/frontend && npm run build",
|
"build-gui": "cd src/frontend && npm run build",
|
||||||
"copy-gui": "cp src/frontend/build/index.html gui",
|
"copy-gui": "cp src/frontend/build/index.html gui",
|
||||||
"webpack-gateway": "webpack --config webpack.gateway.js --progress && cp build/gateway/main.js gateway",
|
"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": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
|
|||||||
@@ -7,6 +7,5 @@ declare const DATA_HASH: string
|
|||||||
const api = new xrpIO("wss://s.altnet.rippletest.net:51233")
|
const api = new xrpIO("wss://s.altnet.rippletest.net:51233")
|
||||||
api.connect().then(async _ => {
|
api.connect().then(async _ => {
|
||||||
const data = await api.treeRead([DATA_HASH]);
|
const data = await api.treeRead([DATA_HASH]);
|
||||||
alert("Writing to document now")
|
|
||||||
document.write(data)
|
document.write(data)
|
||||||
})
|
})
|
||||||
@@ -1,6 +1,10 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
<meta http-equiv='cache-control' content='no-cache'>
|
||||||
|
<meta http-equiv='expires' content='0'>
|
||||||
|
<meta http-equiv='pragma' content='no-cache'>
|
||||||
|
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<title>httXrp</title>
|
<title>httXrp</title>
|
||||||
<base href="" />
|
<base href="" />
|
||||||
@@ -11,6 +15,8 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body cds-text="body">
|
<body cds-text="body">
|
||||||
<app-root></app-root>
|
<app-root>
|
||||||
|
<div style="text-align: center;">Loading application state</div>
|
||||||
|
</app-root>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user