Skip to content

Commit

Permalink
fix: csp issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dubisdev committed Feb 22, 2023
1 parent 8f24760 commit 741637b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<head>
<meta charset="UTF-8" />
<link rel="icon" href="data:,">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; style-src 'self'">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>RunMath</title>
</head>
Expand Down
1 change: 1 addition & 0 deletions settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- No favicon -->
<link rel="icon" href="data:,">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; style-src 'self' 'unsafe-inline'">
<title>RunMath Settings</title>
<style>
body {
Expand Down
4 changes: 2 additions & 2 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"distDir": "../dist"
},
"package": {
"productName": "runmath",
"productName": "RunMath",
"version": "../package.json"
},
"tauri": {
Expand Down Expand Up @@ -71,7 +71,7 @@
}
},
"security": {
"csp": "default-src 'self'"
"csp": null
},
"updater": {
"active": false
Expand Down

0 comments on commit 741637b

Please sign in to comment.