Skip to content

Conversation

@douglasduteil
Copy link
Contributor

@douglasduteil douglasduteil commented Oct 17, 2024


Allow cross origin access to our mail-proconnect.png

This will help local mail edition ;)

Before

$ curl -I  curl -I https://f3bc9959218b99.lhr.life/dist/mail-proconnect.png 
HTTP/1.1 200 OK
Content-Security-Policy: default-src 'self';img-src 'self' data: stats.data.gouv.fr *.crisp.chat;connect-src 'self' stats.data.gouv.fr *.crisp.chat wss://*.crisp.chat;frame-src 'self' agentconnect.crisp.help;script-src 'self' stats.data.gouv.fr *.crisp.chat;style-src 'self' *.crisp.chat 'sha256-MKASWYfd3dGFQes9nQT5XnslE3xYlnUb4cHpxhk4fag=' 'sha256-Ks+4bfA56EzWbsVt5/a+A7rCibdXWRQVb7y2dkDLIZM=';font-src 'self' data: *.crisp.chat;form-action 'self' *;base-uri 'self';frame-ancestors 'self';object-src 'none';script-src-attr 'none';upgrade-insecure-requests
Cross-Origin-Opener-Policy: same-origin
-Cross-Origin-Resource-Policy: same-origin
Origin-Agent-Cluster: ?1
Referrer-Policy: no-referrer
X-Content-Type-Options: nosniff
X-DNS-Prefetch-Control: off
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
X-XSS-Protection: 0
Accept-Ranges: bytes
Cache-Control: public, max-age=0
Last-Modified: Thu, 17 Oct 2024 12:07:08 GMT
ETag: W/"1240-1929a5fe3f5"
Content-Type: image/png
Content-Length: 4672
Date: Thu, 17 Oct 2024 12:12:23 GMT
Connection: keep-alive
Keep-Alive: timeout=5

After

$ curl -I https://f3bc9959218b99.lhr.life/dist/mail-proconnect.png      
HTTP/1.1 200 OK
Content-Security-Policy: default-src 'self';img-src 'self' data: stats.data.gouv.fr *.crisp.chat;connect-src 'self' stats.data.gouv.fr *.crisp.chat wss://*.crisp.chat;frame-src 'self' agentconnect.crisp.help;script-src 'self' stats.data.gouv.fr *.crisp.chat;style-src 'self' *.crisp.chat 'sha256-MKASWYfd3dGFQes9nQT5XnslE3xYlnUb4cHpxhk4fag=' 'sha256-Ks+4bfA56EzWbsVt5/a+A7rCibdXWRQVb7y2dkDLIZM=';font-src 'self' data: *.crisp.chat;form-action 'self' *;base-uri 'self';frame-ancestors 'self';object-src 'none';script-src-attr 'none';upgrade-insecure-requests
Cross-Origin-Opener-Policy: same-origin
+Cross-Origin-Resource-Policy: cross-origin
Origin-Agent-Cluster: ?1
Referrer-Policy: no-referrer
X-Content-Type-Options: nosniff
X-DNS-Prefetch-Control: off
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
X-XSS-Protection: 0
Accept-Ranges: bytes
Cache-Control: public, max-age=0
Last-Modified: Thu, 17 Oct 2024 12:07:08 GMT
ETag: W/"1240-1929a5fe3f5"
Content-Type: image/png
Content-Length: 4672
Date: Thu, 17 Oct 2024 12:11:44 GMT
Connection: keep-alive
Keep-Alive: timeout=5

@douglasduteil douglasduteil added the enhancement New feature or request label Oct 17, 2024
@douglasduteil douglasduteil self-assigned this Oct 17, 2024
@douglasduteil douglasduteil changed the title feat(email): storybook like email package feat: allow cross origin resource access Oct 17, 2024
@douglasduteil douglasduteil changed the title feat: allow cross origin resource access feat: cross origin resource access on the proconnect mail logo Oct 17, 2024
@douglasduteil douglasduteil force-pushed the douglasduteil/feat-allow-cross-origin-resource-access branch from e916416 to 6f1d7dc Compare October 17, 2024 13:01
@rdubigny rdubigny merged commit 4397a08 into master Oct 17, 2024
28 checks passed
@rdubigny rdubigny deleted the douglasduteil/feat-allow-cross-origin-resource-access branch October 17, 2024 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants