Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

The root level resource request of service-worker.js does not forward to S3 bucket. #357

Description

@krish-dev

Describe the bug

  • nextjs PWA not working.
  • the root level request of service-worker.js does not forward to static/service-worker.js

To Reproduce
I have used next-offline for building pwa application. This plugin generates service-worker.js under static/service-worker.js

Expected behavior
Public resources. Requests to root level resources like /robots.txt, /favicon.ico, /manifest.json, etc. These are forwarded to S3. service-worker.js this is also a root level resources. So, this should forward to S3 as well.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions