1
0
mirror of https://github.com/fluencelabs/fluence-js.git synced 2024-12-04 18:00:18 +00:00

works now

This commit is contained in:
Pavel Murygin 2023-02-09 01:11:04 +04:00
parent ac7f4773e2
commit dda89e9626
3 changed files with 19 additions and 16 deletions
package.json
packages
@tests/frameworks/cra-ts/public
core/js-peer/src/js-peer

View File

@ -8,11 +8,14 @@
"node": ">=10",
"pnpm": ">=3"
},
"scripts": {},
"scripts": {
"simulate-cdn": "http-server -p 8765 ./packages/client/js-client.web.standalone/dist"
},
"author": "Fluence Labs",
"license": "Apache-2.0",
"dependencies": {},
"devDependencies": {
"http-server": "14.1.1",
"@types/node": "16.11.59",
"ts-node": "10.9.1",
"typescript": "4.7",

View File

@ -2,19 +2,19 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Web site created using create-react-app" />
<script src='./js-client.min.js' async></script>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Web site created using create-react-app" />
<script src='http://localhost:8765/js-client.min.js' async></script>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<!--
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
@ -23,13 +23,13 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>React App</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.

View File

@ -384,7 +384,7 @@ export class FluencePeer implements IFluencePeer {
// registerSrv(this, 'single_module_srv', this._classServices.srv);
// registerNodeUtils(this, 'node_utils', new NodeUtils(this));
// this._startParticleProcessing();
this._startParticleProcessing();
}
/**