This commit is contained in:
Abdussamed ULUTAŞ 2023-03-05 15:34:07 +03:00
parent 81f8e6b3e9
commit f7b689230d
1 changed files with 2 additions and 2 deletions

View File

@ -9,11 +9,11 @@
<body> <body>
<h2><pre id="log"></pre></h2> <h2><pre id="log"></pre></h2>
<h1 id="message"></h1> <h1 id="message"></h1>
<script src="http://localhost:7707/script"></script> <script src="http://ws.saqut.com/script"></script>
<script> <script>
async function main(){ async function main(){
const wsjs = new MWSE({ const wsjs = new MWSE({
endpoint: "ws://localhost:7707" endpoint: "ws://ws.saqut.com"
}); });
wsjs.scope(async ()=>{ wsjs.scope(async ()=>{
let me = wsjs.peer('me'); let me = wsjs.peer('me');