Support » Plugin: PWA for WP & AMP » js error in service worker

  • GatorDog

    (@gatordog)


    When “Urls Exclude From Cache List” is empty, this js is produced:
    const neverCacheUrls = [/\/wp-admin/,/\/wp-login/,/preview=true/,//];
    Which basically comments out the closing array tag, producing a js error, causing the PWA to not work at all.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘js error in service worker’ is closed to new replies.