mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-07 00:07:29 +00:00
Release builds hash inline <style> blocks from index.html into the CSP. With a hash present, style-src 'unsafe-inline' is ignored, so CodeMirror's runtime-injected styles were blocked and the editor rendered blank (bare line numbers, no text). Dev builds don't rewrite the CSP, so it only showed in v0.1.3 release bundles. Claude-Session: https://claude.ai/code/session_01B65qLEKnkeYTGdbwhLpjCu
24 lines
868 B
HTML
24 lines
868 B
HTML
<!doctype html>
|
|
<html lang="en" data-theme="light">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>OpenIDEA</title>
|
|
<script src="/boot.js"></script>
|
|
<link rel="stylesheet" href="/splash.css" />
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<div id="splash" class="splash" data-tauri-drag-region>
|
|
<svg viewBox="0 0 64 64" aria-hidden="true">
|
|
<rect width="64" height="64" rx="15" fill="#0E0E10" />
|
|
<circle cx="26" cy="32" r="11" fill="none" stroke="#FFFFFF" stroke-width="8" />
|
|
<rect x="43" y="18" width="8" height="28" rx="1.5" fill="#FF4F1A" />
|
|
</svg>
|
|
<span>OpenIDEA</span>
|
|
<div class="splash-bar" role="progressbar" aria-label="Loading"></div>
|
|
</div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|