-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
27 lines (27 loc) · 1.55 KB
/
Copy pathindex.html
File metadata and controls
27 lines (27 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ActivityWatch</title>
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<!-- Verify with https://csp-evaluator.withgoogle.com/ -->
<!-- connect-src deve includere ipc:/http://ipc.localhost: e' il canale
IPC interno di Tauri (invoke di ogni comando, incluso l'avvio del
trascinamento della finestra) - senza, il browser lo blocca e Tauri
ripiega su un canale di fallback troppo lento perche' il trascinamento
nativo della finestra funzioni (deve partire in modo sincrono dentro
lo stesso evento di mousedown). Rimosso il vecchio riferimento a
api.github.com (era per la notifica "nuova versione" ormai eliminata).
api.openai.com/api.anthropic.com restano per la futura integrazione
con un agent AI (vedi BLUEPRINT.md). -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; connect-src 'self' ipc: http://ipc.localhost https://api.openai.com https://api.anthropic.com; img-src 'self' data:; font-src 'self' data:; style-src 'self' 'unsafe-inline'; object-src 'none'; script-src 'self' 'unsafe-eval'">
</head>
<body>
<noscript>
<strong>We're sorry but the ActivityWatch Web UI doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- We can build the app with either Vite or Webpack, they inject in different ways -->
<!-- Vite will auto-inject here: VITE_AUTOINJECT -->
</body>
</html>