aboutsummaryrefslogtreecommitdiff
path: root/vnext/src
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2024-02-18 22:54:18 +0300
committerGravatar Vitaly Takmazov2024-02-18 22:54:18 +0300
commitb9bceb8e977de93dcdacec31c3f2de3af73760a7 (patch)
tree2cfcfe6eefbd1edd5b416661d48731209357271a /vnext/src
parenteb04de8c598799bd3827638da5f50e759e2eaddf (diff)
// -> https://
Diffstat (limited to 'vnext/src')
-rw-r--r--vnext/src/index.html30
-rw-r--r--vnext/src/ui/Comment.js4
-rw-r--r--vnext/src/ui/Settings.js4
-rw-r--r--vnext/src/utils/embed.js4
4 files changed, 21 insertions, 21 deletions
diff --git a/vnext/src/index.html b/vnext/src/index.html
index fa4b62a3..72ba3f57 100644
--- a/vnext/src/index.html
+++ b/vnext/src/index.html
@@ -9,27 +9,27 @@
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="msapplication-config" content="//i.juick.com/browserconfig.xml" />
<meta name="msapplication-TileColor" content="#ffffff" />
- <meta name="msapplication-TileImage" content="//i.juick.com/ms-icon-144x144.png" />
+ <meta name="msapplication-TileImage" content="https://i.juick.com/ms-icon-144x144.png" />
<meta name="theme-color" content="#ffffff" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default">
- <link rel="apple-touch-icon" sizes="57x57" href="//i.juick.com/apple-icon-57x57.png" />
- <link rel="apple-touch-icon" sizes="60x60" href="//i.juick.com/apple-icon-60x60.png" />
- <link rel="apple-touch-icon" sizes="72x72" href="//i.juick.com/apple-icon-72x72.png" />
- <link rel="apple-touch-icon" sizes="76x76" href="//i.juick.com/apple-icon-76x76.png" />
- <link rel="apple-touch-icon" sizes="114x114" href="//i.juick.com/apple-icon-114x114.png" />
- <link rel="apple-touch-icon" sizes="120x120" href="//i.juick.com/apple-icon-120x120.png" />
- <link rel="apple-touch-icon" sizes="144x144" href="//i.juick.com/apple-icon-144x144.png" />
- <link rel="apple-touch-icon" sizes="152x152" href="//i.juick.com/apple-icon-152x152.png" />
- <link rel="apple-touch-icon" sizes="180x180" href="//i.juick.com/apple-icon-180x180.png" />
- <link rel="icon" type="image/png" sizes="32x32" href="//i.juick.com/favicon-32x32.png" />
- <link rel="icon" type="image/png" sizes="96x96" href="//i.juick.com/favicon-96x96.png" />
- <link rel="icon" type="image/png" sizes="16x16" href="//i.juick.com/favicon-16x16.png" />
- <link rel="manifest" href="//i.juick.com/manifest.json" />
+ <link rel="apple-touch-icon" sizes="57x57" href="https://i.juick.com/apple-icon-57x57.png" />
+ <link rel="apple-touch-icon" sizes="60x60" href="https://i.juick.com/apple-icon-60x60.png" />
+ <link rel="apple-touch-icon" sizes="72x72" href="https://i.juick.com/apple-icon-72x72.png" />
+ <link rel="apple-touch-icon" sizes="76x76" href="https://i.juick.com/apple-icon-76x76.png" />
+ <link rel="apple-touch-icon" sizes="114x114" href="https://i.juick.com/apple-icon-114x114.png" />
+ <link rel="apple-touch-icon" sizes="120x120" href="https://i.juick.com/apple-icon-120x120.png" />
+ <link rel="apple-touch-icon" sizes="144x144" href="https://i.juick.com/apple-icon-144x144.png" />
+ <link rel="apple-touch-icon" sizes="152x152" href="https://i.juick.com/apple-icon-152x152.png" />
+ <link rel="apple-touch-icon" sizes="180x180" href="https://i.juick.com/apple-icon-180x180.png" />
+ <link rel="icon" type="image/png" sizes="32x32" href="https://i.juick.com/favicon-32x32.png" />
+ <link rel="icon" type="image/png" sizes="96x96" href="https://i.juick.com/favicon-96x96.png" />
+ <link rel="icon" type="image/png" sizes="16x16" href="https://i.juick.com/favicon-16x16.png" />
+ <link rel="manifest" href="https://i.juick.com/manifest.json" />
</head>
<body>
<div id="app"></div>
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/vnext/src/ui/Comment.js b/vnext/src/ui/Comment.js
index 3a3f4429..90eae699 100644
--- a/vnext/src/ui/Comment.js
+++ b/vnext/src/ui/Comment.js
@@ -62,8 +62,8 @@ export default function Comment({ msg, draft, active, setActive, onStartEditing,
{
msg.photo &&
<div className="msg-media">
- <a href={`//i.juick.com/p/${msg.mid}-${msg.rid}.${msg.attach}`} data-fname={`${msg.mid}-${msg.rid}.${msg.attach}`}>
- <img src={`//i.juick.com/photos-512/${msg.mid}-${msg.rid}.${msg.attach}`} alt="" />
+ <a href={`https://i.juick.com/p/${msg.mid}-${msg.rid}.${msg.attach}`} data-fname={`${msg.mid}-${msg.rid}.${msg.attach}`}>
+ <img src={`https://i.juick.com/photos-512/${msg.mid}-${msg.rid}.${msg.attach}`} alt="" />
</a>
</div>
}
diff --git a/vnext/src/ui/Settings.js b/vnext/src/ui/Settings.js
index 82a84be9..fa93edfc 100644
--- a/vnext/src/ui/Settings.js
+++ b/vnext/src/ui/Settings.js
@@ -228,7 +228,7 @@ export default function Settings({ onChange }) {
) : (
<p>Cross-posting to Facebook:
<a href="/_fblogin">
- <img src="//static.juick.com/facebook-connect.png" alt="Connect to Facebook" />
+ <img src="https://static.juick.com/facebook-connect.png" alt="Connect to Facebook" />
</a>
</p>
)}
@@ -243,7 +243,7 @@ export default function Settings({ onChange }) {
</div>
</form>
:
- <p>Cross-posting to Twitter: <a href="/_twitter"><img src="//static.juick.com/twitter-connect.png"
+ <p>Cross-posting to Twitter: <a href="/_twitter"><img src="https://static.juick.com/twitter-connect.png"
alt="Connect to Twitter" /></a></p>
}
</fieldset>
diff --git a/vnext/src/utils/embed.js b/vnext/src/utils/embed.js
index 79674e28..4501168b 100644
--- a/vnext/src/utils/embed.js
+++ b/vnext/src/utils/embed.js
@@ -223,7 +223,7 @@ function getEmbeddableLinkTypes() {
let [, v, args, plist] = reResult
let iframeUrl
if (plist) {
- iframeUrl = '//www.youtube-nocookie.com/embed/videoseries?list=' + plist
+ iframeUrl = 'https://www.youtube-nocookie.com/embed/videoseries?list=' + plist
} else {
let pp = {}; args.replace(/^\?/, '')
.split('&')
@@ -246,7 +246,7 @@ function getEmbeddableLinkTypes() {
let argsStr = Object.keys(embedArgs)
.map(k => `${k}=${embedArgs[k]}`)
.join('&')
- iframeUrl = `//www.youtube-nocookie.com/embed/${v}?${argsStr}`
+ iframeUrl = `https://www.youtube-nocookie.com/embed/${v}?${argsStr}`
}
let iframe = makeIframe(iframeUrl, '100%', '360px')
iframe.onload = () => makeResizableToRatio(iframe, 9.0 / 16.0)