Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
LimesKey committed Jun 14, 2024
1 parent 30d8912 commit a93135c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
}
},
"security": {
"csp": null
"csp": "default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'"
},
"updater": {
"active": false
Expand Down
3 changes: 1 addition & 2 deletions src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="$lib/images/splash.ico" type="image/x-con">
<link rel="icon" href="/src/lib/images/splash.ico" type="image/x-con">
<meta name="viewport" content="width=device-width, initial-scale=1" />
%sveltekit.head%
</head>
Expand All @@ -11,7 +11,6 @@
<div style="display: contents">%sveltekit.body%</div>

<script>

const time = document.getElementById('time');
window.__TAURI__.invoke('display_time', { }).then(data => {
time.innerText = data;
Expand Down

0 comments on commit a93135c

Please sign in to comment.