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

View File

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

View File

@ -2,19 +2,19 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" /> <meta name="theme-color" content="#000000" />
<meta name="description" content="Web site created using create-react-app" /> <meta name="description" content="Web site created using create-react-app" />
<script src='./js-client.min.js' async></script> <script src='http://localhost:8765/js-client.min.js' async></script>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" /> <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!-- <!--
manifest.json provides metadata used when your web app is installed on a 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/ 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. Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build. 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. 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. 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`. Learn how to configure a non-root public URL by running `npm run build`.
--> -->
<title>React App</title> <title>React App</title>
</head> </head>
<body> <body>
<noscript>You need to enable JavaScript to run this app.</noscript> <noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div> <div id="root"></div>
<!-- <!--
This HTML file is a template. This HTML file is a template.
If you open it directly in the browser, you will see an empty page. 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); // registerSrv(this, 'single_module_srv', this._classServices.srv);
// registerNodeUtils(this, 'node_utils', new NodeUtils(this)); // registerNodeUtils(this, 'node_utils', new NodeUtils(this));
// this._startParticleProcessing(); this._startParticleProcessing();
} }
/** /**