Fixed allowedProtocols issue

This commit is contained in:
SolninjaA committed 2025-01-13 16:00:18 +10:00
1 parent 3b48f9f298
commit 6058966834
3 files changed
+41 -22

No files matched your search

+16 -7
View File
@@ -43,6 +43,15 @@
margin-top: 0px;
}
p,
label {
font-size: 15px;
}
code {
font-weight: bold;
}
main {
display: flex;
flex-direction: column;
@@ -72,7 +81,7 @@
min-width: 110px;
}
.protocol {
.checkbox {
flex-wrap: wrap;
}
@@ -90,7 +99,7 @@
<label>
<input type="text" id="host" placeholder="https://l.example.com">
<br>
Don't have one? See <a href="https://github.com/sintan1729/chhoto-url">here</a> for more information.
<p>Don't have one? See <a target="_blank" href="https://github.com/sintan1729/chhoto-url#building-and-running-with-docker">here</a> for more information.</p>
</label>
</div>
<p id="message" class="note">A non-HTTPS connection is insecure! Only use this if you are testing.</p>
@@ -99,14 +108,14 @@
<h2>API Key</h2>
<label>
<input type="password" id="key" placeholder="Long API Key">
<p>This is the API key that the extension will use to connecr to your Chhoto URL instance. To enable this, set the "api_key" environment variable in the server configuration.</p>
<p>See <a href="https://github.com/sintan1729/chhoto-url">here</a> for more information.</p>
<p>This is the API key that the extension will use to connect to your Chhoto URL instance. To enable this, set the <strong>"api_key"</strong> environment variable in the server configuration.</p>
<p>See <strong>Section 1.c</strong> <a target="_blank" href="https://github.com/sintan1729/chhoto-url#building-and-running-with-docker">here</a> for more information.</p>
</label>
</div>
<p class="note">Important: Chhoto URL will output in the console whether or not your key is secure. If it isn't, it will generate a suggested key and output it. Always follow its advice.</p>
<p class="note">Important: The Chhoto URL server (not the extension) will output in the console whether or not your key is secure. If it isn't, it will generate a suggested key and output it. Always follow its advice.</p>
<div class="settings protocol">
<h2>Protocol filters</h2>
<div class="settings checkbox">
<h2>Protocol Filters</h2>
<label>
Allow <code>http://</code> links
<input type="checkbox" id="allow-http">