mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-11-30 01:44:58 +03:00
Merge pull request #167 from uqbar-dao/wg/kinode-chess
Update chess URL
This commit is contained in:
commit
3a3b333838
File diff suppressed because one or more lines are too long
1
modules/chess/pkg/ui/assets/index-9cf353a0.css
Normal file
1
modules/chess/pkg/ui/assets/index-9cf353a0.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
87
modules/chess/pkg/ui/assets/index-c34c1996.js
Normal file
87
modules/chess/pkg/ui/assets/index-c34c1996.js
Normal file
File diff suppressed because one or more lines are too long
@ -9,8 +9,8 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<meta http-equiv="Cross-Origin-Opener-Policy" content="same-origin-allow-popups" />
|
<meta http-equiv="Cross-Origin-Opener-Policy" content="same-origin-allow-popups" />
|
||||||
<title>Chess</title>
|
<title>Chess</title>
|
||||||
<script type="module" crossorigin src="/chess:chess:nectar/assets/index-6558d890.js"></script>
|
<script type="module" crossorigin src="/chess:chess:sys/assets/index-c34c1996.js"></script>
|
||||||
<link rel="stylesheet" href="/chess:chess:nectar/assets/index-b1380f22.css">
|
<link rel="stylesheet" href="/chess:chess:sys/assets/index-9cf353a0.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
|
@ -207,7 +207,7 @@
|
|||||||
|
|
||||||
<h4>Apps:</h4>
|
<h4>Apps:</h4>
|
||||||
<!-- <a id="file-transfer" href="/file-transfer">File Transfer</a> -->
|
<!-- <a id="file-transfer" href="/file-transfer">File Transfer</a> -->
|
||||||
<a id="chess" href="/chess:chess:nectar/">Chess</a>
|
<a id="chess" href="/chess:chess:sys/">Chess</a>
|
||||||
</div>
|
</div>
|
||||||
<script>window.ourName = window.our = '${our}'</script>
|
<script>window.ourName = window.our = '${our}'</script>
|
||||||
<script>
|
<script>
|
||||||
@ -228,14 +228,14 @@
|
|||||||
chessLink.attributes.href.value = (window.location.pathname + chessLink.attributes.href.value).replace('//', '/')
|
chessLink.attributes.href.value = (window.location.pathname + chessLink.attributes.href.value).replace('//', '/')
|
||||||
|
|
||||||
console.log('OUR NODE NAME:', window.our)
|
console.log('OUR NODE NAME:', window.our)
|
||||||
console.log(getCookie(`nectar-ws-auth_${window.our}`))
|
console.log(getCookie(`kinode-ws-auth_${window.our}`))
|
||||||
|
|
||||||
// const webSocket = new WebSocket('ws://' + window.location.host) // Handle proxying later
|
// const webSocket = new WebSocket('ws://' + window.location.host) // Handle proxying later
|
||||||
// webSocket.onopen = () => {
|
// webSocket.onopen = () => {
|
||||||
// console.log('WS OPENED')
|
// console.log('WS OPENED')
|
||||||
// webSocket.send(JSON.stringify({
|
// webSocket.send(JSON.stringify({
|
||||||
// Register: {
|
// Register: {
|
||||||
// auth_token: getCookie(`nectar-ws-auth_${window.our}`),
|
// auth_token: getCookie(`kinode-ws-auth_${window.our}`),
|
||||||
// channel_id: "homepage" // Can be unique to this connection, app, or omitted entirely
|
// channel_id: "homepage" // Can be unique to this connection, app, or omitted entirely
|
||||||
// }
|
// }
|
||||||
// }))
|
// }))
|
||||||
@ -243,7 +243,7 @@
|
|||||||
// setTimeout(() => {
|
// setTimeout(() => {
|
||||||
// webSocket.send(JSON.stringify({
|
// webSocket.send(JSON.stringify({
|
||||||
// Action: {
|
// Action: {
|
||||||
// auth_token: getCookie(`nectar-ws-auth_${window.our}`),
|
// auth_token: getCookie(`kinode-ws-auth_${window.our}`),
|
||||||
// target: {
|
// target: {
|
||||||
// node: window.our,
|
// node: window.our,
|
||||||
// process: 'homepage'
|
// process: 'homepage'
|
||||||
|
Loading…
Reference in New Issue
Block a user