Skip to content

Commit

Permalink
Enable Dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
TomNUSDS committed Mar 9, 2024
1 parent 922ed5a commit 0b66098
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ and `service-worker.js` are standard javascript, they are **not** transpiled
and they don't import anything. So, some constants associated with the cache
are duplicated and need to kept in sync.

## Service-Worker


## Security
Site is 100% static. All content is stored in the browser's cache and localstorage.

Expand Down Expand Up @@ -104,8 +101,10 @@ The tool loads style scripts from website staging.
```
img-src 'self' https: data: blob:;
```
The `https:` allows images to be loaded from anywhere. This allows the
The `https:` allows images to be loaded from anywhere. This allows the service-worker to
cache images from sites that are pasted into the WYSIWYG editor.

The service worker transparently passes on all requests that are not images.

## Debugging

Expand Down

0 comments on commit 0b66098

Please sign in to comment.