File tree Expand file tree Collapse file tree
src/bridges/user/web/frontend Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55< meta name ="viewport " content ="width=device-width, initial-scale=1 ">
66< title > Agent Comms</ title >
77< meta name ="theme-color " content ="#16213e ">
8- < link rel ="manifest " href ="/manifest.json ">
8+ < link rel ="manifest " href =". /manifest.json ">
99</ head >
1010< body >
1111< div id ="root "> </ div >
12- < script src ="/bundle.js "> </ script >
12+ < script src =". /bundle.js "> </ script >
1313< script >
1414if ( "serviceWorker" in navigator ) {
1515 window . addEventListener ( "load" , function ( ) {
16- navigator . serviceWorker . register ( "/sw.js" ) ;
16+ navigator . serviceWorker . register ( ". /sw.js" ) ;
1717 } ) ;
1818}
1919</ script >
Original file line number Diff line number Diff line change 22 "name" : " Agent Comms" ,
33 "short_name" : " Comms" ,
44 "description" : " Cross-harness LLM agent communication mesh" ,
5- "start_url" : " /" ,
5+ "start_url" : " . /" ,
66 "display" : " standalone" ,
77 "background_color" : " #1a1a2e" ,
88 "theme_color" : " #16213e" ,
99 "icons" : [
1010 {
11- "src" : " /icons/icon-96x96.svg" ,
11+ "src" : " . /icons/icon-96x96.svg" ,
1212 "sizes" : " 96x96" ,
1313 "type" : " image/svg+xml"
1414 },
1515 {
16- "src" : " /icons/icon-192x192.svg" ,
16+ "src" : " . /icons/icon-192x192.svg" ,
1717 "sizes" : " 192x192" ,
1818 "type" : " image/svg+xml"
1919 },
2020 {
21- "src" : " /icons/icon-512x512.svg" ,
21+ "src" : " . /icons/icon-512x512.svg" ,
2222 "sizes" : " 512x512" ,
2323 "type" : " image/svg+xml"
2424 }
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export class MeshClient {
5454 connect ( ) : void {
5555 if ( this . worker ) return ;
5656
57- const worker = new SharedWorker ( "/mesh-worker.js" ) ;
57+ const worker = new SharedWorker ( ". /mesh-worker.js" ) ;
5858 this . worker = worker ;
5959
6060 worker . port . onmessage = ( event : MessageEvent ) => {
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export class RelayClient {
4545 connect ( ) : void {
4646 if ( this . worker ) return ;
4747
48- const worker = new SharedWorker ( "/relay-worker.js" ) ;
48+ const worker = new SharedWorker ( ". /relay-worker.js" ) ;
4949 this . worker = worker ;
5050
5151 worker . port . onmessage = ( event : MessageEvent ) => {
Original file line number Diff line number Diff line change @@ -101,13 +101,13 @@ declare const self: ServiceWorkerGlobalScope;
101101const CACHE_NAME = "agent-comms-v1" ;
102102
103103const APP_SHELL = [
104- "/" ,
105- "/bundle.js" ,
106- "/sw.js" ,
107- "/manifest.json" ,
108- "/icons/icon-96x96.svg" ,
109- "/icons/icon-192x192.svg" ,
110- "/icons/icon-512x512.svg" ,
104+ ". /" ,
105+ ". /bundle.js" ,
106+ ". /sw.js" ,
107+ ". /manifest.json" ,
108+ ". /icons/icon-96x96.svg" ,
109+ ". /icons/icon-192x192.svg" ,
110+ ". /icons/icon-512x512.svg" ,
111111] ;
112112
113113// ---------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments