aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkj_sh6042026-04-18 19:56:47 -0400
committerkj_sh6042026-04-18 19:56:47 -0400
commit54b1d2cfea915fa0ec35beadfe7881f21516bcc0 (patch)
treee0d59a76993eca56842f579f2c3dbce90c686b2d
parentcf2ac83ea865c52639d9efeaad1f03f54d4d4edd (diff)
refactor: add librejs license
-rw-r--r--src/server.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/server.py b/src/server.py
index 1946439..79919ad 100644
--- a/src/server.py
+++ b/src/server.py
@@ -725,6 +725,37 @@ def paste_page(paste, csp_nonce):
{highlight_css}
</head>
<body>
+ <script>
+ /*
+ @licstart The following is the entire license notice for the
+ JavaScript code in this page.
+
+ Copyright (c) 2026 kj_sh604/kj-sh604/kjsh604
+
+ SPDX-License-Identifier: MIT
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
+
+ @licend The above is the entire license notice
+ for the JavaScript code in this page.
+ */
+ </script>
<h1><a href="/" style="text-decoration:none;color:inherit;">kj-clipboard</a></h1>
<p class="meta">created {created}{(" · " + escaped_language) if language else ""}{" · encrypted" if is_encrypted else ""}</p>
<div class="actions">