Giter Site home page Giter Site logo

Use only local assets about piping-chat-web HOT 4 CLOSED

nwtgck avatar nwtgck commented on August 14, 2024
Use only local assets

from piping-chat-web.

Comments (4)

jsarenik avatar jsarenik commented on August 14, 2024 1

@nwtgck Good point! Thank you for mentioning the workbox-sw.js as I did not notice it myself.

So far I have manually edited https://xn--jrok-loa.bublina.eu.org/chat/service-worker.js and so far so good.

Thank you!

from piping-chat-web.

jsarenik avatar jsarenik commented on August 14, 2024

As for me, this is already fixed. Using ef55f42 now at https://a.bublina.eu.org/chat
Thank you @nwtgck !!!

from piping-chat-web.

jsarenik avatar jsarenik commented on August 14, 2024

@nwtgck Apologies, the external assets were actually caused by my Netlify settings. So everything was OK ever before.

from piping-chat-web.

nwtgck avatar nwtgck commented on August 14, 2024

@jsarenik Great!

But, Is it already fixed? I think Service Worker still uses Google assets, WorkBox.

importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");

(https://piping-chat.netlify.com/service-worker.js)

For example, in another similar project, it uses local WorkBox JavaScript. I'm going to use the same configuration for this project too.

importScripts("precache-manifest.97213ef79079d106e77e95afb42d6a54.js", "workbox-v4.3.1/workbox-sw.js");

(https://piping-ui.org/service-worker.js)

from piping-chat-web.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.