Skip to content

Commit 4ba11f9

Browse files
committed
ci
1 parent 5ba0ee1 commit 4ba11f9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,10 +1005,10 @@ jobs:
10051005
- name: Serve
10061006
working-directory: ./site
10071007
run: |
1008-
pnpm dev &
1008+
pnpm vite preview &
10091009
sleep 5
10101010
- name: Run Meticulous tests
10111011
uses: alwaysmeticulous/report-diffs-action/cloud-compute@v1
10121012
with:
10131013
api-token: ${{ secrets.METICULOUS_API_TOKEN }}
1014-
app-url: "http://127.0.0.1:8080/"
1014+
app-url: "http://127.0.0.1:4173/"

coderd/httpmw/csp.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ func CSPHeaders(telemetry bool, websocketHosts func() []string) func(next http.H
5656
cspSrcs := cspDirectives{
5757
// All omitted fetch csp srcs default to this.
5858
cspDirectiveDefaultSrc: {"'self'"},
59-
cspDirectiveConnectSrc: {"'self'"},
59+
cspDirectiveConnectSrc: {"'self' https://cognito-identity.us-west-2.amazonaws.com https://user-events-v3.s3-accelerate.amazonaws.com *.sentry.io"},
6060
cspDirectiveChildSrc: {"'self'"},
6161
// https://github.com/suren-atoyan/monaco-react/issues/168
62-
cspDirectiveScriptSrc: {"'self'"},
62+
cspDirectiveScriptSrc: {"'self' https://snippet.meticulous.ai https://browser.sentry-cdn.com "},
6363
cspDirectiveStyleSrc: {"'self' 'unsafe-inline'"},
6464
// data: is used by monaco editor on FE for Syntax Highlight
6565
cspDirectiveFontSrc: {"'self' data:"},

0 commit comments

Comments
 (0)