Skip to content

Commit

Permalink
chore(src/cli/templates.hh): improve html template
Browse files Browse the repository at this point in the history
  • Loading branch information
chicoxyzzy committed Sep 25, 2023
1 parent 5283cdf commit dc6dcc0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/cli/templates.hh
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,14 @@ constexpr auto gHelloWorld = R"HTML(
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<meta
http-equiv="Content-Security-Policy"
content="
connect-src https: file: ipc: socket: data:;
child-src 'none';
img-src https: data: file: socket:;
"
>
<style type="text/css">
html, body {
height: 100%;
Expand Down

0 comments on commit dc6dcc0

Please sign in to comment.