ldrouter 1.11.3 → 1.11.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/web/index.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<meta name="color-scheme" content="light dark" />
|
|
8
8
|
<title>LateDev Router</title>
|
|
9
|
-
<script type="module" crossorigin src="/assets/index-
|
|
9
|
+
<script type="module" crossorigin src="/assets/index-DhNkAaqo.js"></script>
|
|
10
10
|
<link rel="stylesheet" crossorigin href="/assets/index-CqVMNQ5F.css">
|
|
11
11
|
</head>
|
|
12
12
|
<body>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
-- Migration: Ensure all existing API keys have keyDigest populated
|
|
2
|
+
-- This fixes the issue where old keys stored without digest after restore
|
|
3
|
+
-- or from instances that didn't properly compute keyDigest on creation
|
|
4
|
+
|
|
5
|
+
BEGIN TRANSACTION;
|
|
6
|
+
|
|
7
|
+
-- Add missing keyDigest for any existing keys (should not happen if working correctly)
|
|
8
|
+
UPDATE apiKeys
|
|
9
|
+
SET keyDigest = substr(
|
|
10
|
+
hex(sha256(keySecretEncrypted || keySecretNonce)),
|
|
11
|
+
1, 64
|
|
12
|
+
)
|
|
13
|
+
WHERE keyDigest IS NULL OR keyDigest = '';
|
|
14
|
+
|
|
15
|
+
COMMIT;
|