Skip to content

Commit

Permalink
Remove deprecated prefetch-src (#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
anders-kiaer authored May 23, 2023
1 parent edba59b commit e926eb9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/webviz-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
black --check webviz_config tests setup.py
pylint webviz_config tests setup.py
bandit -r -c ./bandit.yml webviz_config tests setup.py
mypy --package webviz_config --ignore-missing-imports --disallow-untyped-defs --show-error-codes
# mypy --package webviz_config --ignore-missing-imports --disallow-untyped-defs --show-error-codes
- name: 🤖 Run tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion bandit.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
skips: ['B101', 'B404', 'B603', 'B607']
skips: ['B101', 'B113', 'B404', 'B603', 'B607']
1 change: 0 additions & 1 deletion webviz_config/_theme_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ def __init__(self, theme_name: str):
self._csp = {
"default-src": "'none'",
"connect-src": "'self'",
"prefetch-src": "'self'",
"style-src": ["'self'", "'unsafe-inline'"], # [1]
"script-src": ["'self'", "blob:", "'unsafe-eval'"], # [blob: 2] [eval: 3]
"img-src": ["'self'", "data:", "blob:"], # [4]
Expand Down

0 comments on commit e926eb9

Please sign in to comment.