Skip to content

Commit 22662b7

Browse files
committed
Update dist
1 parent 848386e commit 22662b7

File tree

7 files changed

+35
-26
lines changed

7 files changed

+35
-26
lines changed

client/dist-dev/static/app.js

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3642,7 +3642,7 @@ __webpack_require__.r(__webpack_exports__);
36423642

36433643
let callbacks = new Set();
36443644
let theme = 'dark';
3645-
let themeVer = 3;
3645+
let themeVer = 5;
36463646
let editorThemeName = '';
36473647
const monospaceSize = "12px";
36483648
const monospaceFont = "Consolas, Menlo, 'Roboto Mono', 'DejaVu Sans Mono'";
@@ -8739,10 +8739,19 @@ function New(self) {
87398739
if (sIndex >= 0 && eIndex >= 0) {
87408740
tlsAuth += curData.substring(sIndex, eIndex + 12) + "\n";
87418741
}
8742-
sIndex = curData.indexOf("<cert>");
8743-
eIndex = curData.indexOf("</cert>");
8744-
if (sIndex >= 0 && eIndex >= 0) {
8745-
cert = curData.substring(sIndex, eIndex + 7) + "\n";
8742+
if (data.includes("<cert>") && data.includes("</cert>")) {
8743+
sIndex = data.indexOf("<cert>");
8744+
eIndex = data.indexOf("</cert>");
8745+
if (sIndex >= 0 && eIndex >= 0) {
8746+
cert = data.substring(sIndex, eIndex + 7) + "\n";
8747+
}
8748+
}
8749+
if (!cert) {
8750+
sIndex = curData.indexOf("<cert>");
8751+
eIndex = curData.indexOf("</cert>");
8752+
if (sIndex >= 0 && eIndex >= 0) {
8753+
cert = curData.substring(sIndex, eIndex + 7) + "\n";
8754+
}
87468755
}
87478756
sIndex = curData.indexOf("<key>");
87488757
eIndex = curData.indexOf("</key>");
@@ -8765,6 +8774,7 @@ function New(self) {
87658774
let authString = [this.sync_token, authTimestamp,
87668775
authNonce, "GET", path].join("&");
87678776
let authSignature = crypto__WEBPACK_IMPORTED_MODULE_12___default().createHmac("sha512", this.sync_secret).update(authString).digest("base64");
8777+
path += '?ver=2';
87688778
let req = new _Request__WEBPACK_IMPORTED_MODULE_3__.Request();
87698779
req.get(path)
87708780
.tcp(syncHost)

client/dist-dev/static/app.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/dist/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
<div id="toaster"></div>
2525
<div id="toaster2"></div>
2626
<script>
27-
window.source_map = "static/app.7ad10c.js.map"
27+
window.source_map = "static/app.711482.js.map"
2828
</script>
29-
<script src="static/app.7ad10c.js"></script>
29+
<script src="static/app.711482.js"></script>
3030
</body>
3131
</html>
Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24289,7 +24289,7 @@ var loader = {
2428924289

2429024290
let Theme_callbacks = new Set();
2429124291
let theme = 'dark';
24292-
let themeVer = 3;
24292+
let themeVer = 5;
2429324293
let editorThemeName = '';
2429424294
const monospaceSize = "12px";
2429524295
const monospaceFont = "Consolas, Menlo, 'Roboto Mono', 'DejaVu Sans Mono'";
@@ -25402,10 +25402,19 @@ function New(self) {
2540225402
if (sIndex >= 0 && eIndex >= 0) {
2540325403
tlsAuth += curData.substring(sIndex, eIndex + 12) + "\n";
2540425404
}
25405-
sIndex = curData.indexOf("<cert>");
25406-
eIndex = curData.indexOf("</cert>");
25407-
if (sIndex >= 0 && eIndex >= 0) {
25408-
cert = curData.substring(sIndex, eIndex + 7) + "\n";
25405+
if (data.includes("<cert>") && data.includes("</cert>")) {
25406+
sIndex = data.indexOf("<cert>");
25407+
eIndex = data.indexOf("</cert>");
25408+
if (sIndex >= 0 && eIndex >= 0) {
25409+
cert = data.substring(sIndex, eIndex + 7) + "\n";
25410+
}
25411+
}
25412+
if (!cert) {
25413+
sIndex = curData.indexOf("<cert>");
25414+
eIndex = curData.indexOf("</cert>");
25415+
if (sIndex >= 0 && eIndex >= 0) {
25416+
cert = curData.substring(sIndex, eIndex + 7) + "\n";
25417+
}
2540925418
}
2541025419
sIndex = curData.indexOf("<key>");
2541125420
eIndex = curData.indexOf("</key>");
@@ -25428,6 +25437,7 @@ function New(self) {
2542825437
let authString = [this.sync_token, authTimestamp,
2542925438
authNonce, "GET", path].join("&");
2543025439
let authSignature = external_crypto_default().createHmac("sha512", this.sync_secret).update(authString).digest("base64");
25440+
path += '?ver=2';
2543125441
let req = new Request_Request();
2543225442
req.get(path)
2543325443
.tcp(syncHost)

client/dist/static/app.711482.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/dist/static/app.7ad10c.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

client/package-lock.json

Lines changed: 1 addition & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)