Skip to content

Commit

Permalink
fix: disable insecure-requests Content-Security-Policy.
Browse files Browse the repository at this point in the history
  • Loading branch information
riccox committed Oct 11, 2024
1 parent 73e0bb4 commit 177ba14
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<link rel="shortcut icon" type="image/x-icon" href="/meili-logo.svg">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<head>
<meta charset="UTF-8" />
<link rel="shortcut icon" type="image/x-icon" href="/meili-logo.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- to disable "Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure resource ''. This request has been blocked; the content must be served over HTTPS." error when connecting to http(no ssl) backend. -->
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests" />
<title>Meilisearch UI</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>

0 comments on commit 177ba14

Please sign in to comment.