diff --git a/README.md b/README.md index 0436523..992e21c 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ This project is deno with πŸ‹freshπŸ‹ sample project +[![Made with Fresh](https://fresh.deno.dev/fresh-badge-dark.svg)](https://fresh.deno.dev) + ## πŸš€ Get started You run below command diff --git a/csp-reports.txt b/csp-reports.txt deleted file mode 100644 index 2ba2d67..0000000 --- a/csp-reports.txt +++ /dev/null @@ -1,43 +0,0 @@ -{ - "csp-report": { - "document-uri": "http://localhost:8000/correctCSPwithReport", - "referrer": "http://localhost:8000/", - "violated-directive": "style-src-elem", - "effective-directive": "style-src-elem", - "original-policy": "default-src 'none'; style-src 'unsafe-inline' http://www.example.com; report-uri http://localhost:8000/reportHandler; script-src 'nonce-71d90af6c22f47f3b28399209fdd8dc5'; connect-src 'self'", - "disposition": "report", - "blocked-uri": "http://localhost:8000/example.css", - "line-number": 1, - "source-file": "http://localhost:8000/correctCSPwithReport", - "status-code": 200, - "script-sample": "" - } -} -{ - "csp-report": { - "document-uri": "http://localhost:8000/correctCSPwithReport", - "referrer": "http://localhost:8000/", - "violated-directive": "style-src-elem", - "effective-directive": "style-src-elem", - "original-policy": "default-src 'none'; style-src 'unsafe-inline' http://www.example.com; report-uri http://localhost:8000/reportHandler; script-src 'nonce-71d90af6c22f47f3b28399209fdd8dc5'; connect-src 'self'", - "disposition": "report", - "blocked-uri": "http://localhost:8000/styles.css", - "line-number": 1, - "source-file": "http://localhost:8000/correctCSPwithReport", - "status-code": 200, - "script-sample": "" - } -} -{ - "csp-report": { - "document-uri": "http://localhost:8000/correctCSPwithReport", - "referrer": "http://localhost:8000/", - "violated-directive": "img-src", - "effective-directive": "img-src", - "original-policy": "default-src 'none'; style-src 'unsafe-inline' http://www.example.com; report-uri http://localhost:8000/reportHandler; script-src 'nonce-71d90af6c22f47f3b28399209fdd8dc5'; connect-src 'self'", - "disposition": "report", - "blocked-uri": "http://localhost:8000/favicon.ico", - "status-code": 200, - "script-sample": "" - } -} diff --git a/src/components/Button.tsx b/src/components/Button.tsx index 27a4d24..ea519aa 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -12,11 +12,11 @@ export function Button(