B4J Question BANanoServer REST API with PWA - Not Picking Updates

Mashiane

Expert
Licensed User
Longtime User
Hi there

I'm in a pickle, not sure if its my windows pc or something.

The PWA has stopped picking "updates" and thus not refreshing itself. Im using edge and still developing my app.

There are some files that I have also added to replace others in my Files tab, pressed sync. Still the old files are being shown.

Even when I reregister the service worker and clear data nothing happens.

Can some one please indicate how to fix this once and for all.

Thanks in advance

Mashy
 

Mashiane

Expert
Licensed User
Longtime User
I am trying this fix here...


B4X:
Dim credentials As Map = BANano.Await(BANano.GetFileAsJSON($"./assets/env.json?${DateTime.now}"$, Null))
    Log(credentials)

Sadly still returning cached content, not the updated file.
 
Upvote 0
Top