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

http header / UnexpectedParameter: Unexpected key 'ServiceWorkerAllowed' found in params #119

@aheissenberger

Description

@aheissenberger

How can I add additional http headers?

Here is my current setup:

custom:
  s3Sync:
    - bucketNameKey: WebSiteBucket
      localDir: dist/client
      deleteRemoved: true
      acl: public-read # required
      params:
        - "assets/pwa/sw.js":
            CacheControl: 'no-cache'
            ServiceWorkerAllowed: '/'
        - "assets/pwa/manifest.webmanifest":
            CacheControl: 'no-cache'
        - "*.*":
            CacheControl: 'public, max-age=31536000'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions