Update service endpoint

Update project dependencies

Signed-off-by: Joe Ma <rikkaneko23@gmail.com>
This commit is contained in:
Joe Ma 2023-07-12 10:14:41 +08:00
parent 174885af7c
commit 50244f0c1e
No known key found for this signature in database
GPG key ID: 7A0ECF5F5EDC587F
7 changed files with 195 additions and 195 deletions

View file

@ -26,7 +26,7 @@
<body>
<h2>Paste Service</h2>
<p>
<a href="https://pb.nekoul.com">pb.nekoul.com</a> is a pastebin-like service hosted on Cloudflare Worker.<br>
<a href="https://pb.nekoid.cc">pb.nekoid.cc</a> is a pastebin-like service hosted on Cloudflare Worker.<br>
This service is primarily designed for own usage and interest only.<br>
All data may be deleted or expired without any notification and guarantee. Please <b>DO NOT</b> abuse this
service.<br>
@ -38,7 +38,7 @@
href="https://wiki.archlinux.org/title/CURL">curl</a>.
</p>
<form id="upload_file_form" action="https://pb.nekoul.com" method="POST" enctype=multipart/form-data>
<form id="upload_file_form" action="https://pb.nekoid.cc" method="POST" enctype=multipart/form-data>
<div>
<div>
<h4>Upload file</h4>
@ -169,9 +169,9 @@
document.getElementById('upload_file_form').addEventListener('submit', handle_submit_form, false);
</script>
<br>
<a href="https://nekoul.com">[Homepage]</a>
<a href="https://nekoid.cc">[Homepage]</a>
<a href="https://github.com/rikkaneko/paste#api-specification">[API]</a>
<a href="https://pb.nekoul.com">[Switch to new version]</a>
<a href="https://pb.nekoid.cc">[Switch to new version]</a>
<p>&copy; 2022 rikkaneko</p>
</body>
</html>

View file

@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
const endpoint = 'https://pb.nekoul.com';
const endpoint = 'https://pb.nekoid.cc';
let input_div = {
file: null,
@ -292,7 +292,7 @@ $(function () {
show_pop_alert('Invalid Paste ID.', 'alert-warning');
return;
}
window.open(`https://pb.nekoul.com/${uuid}`);
window.open(`https://pb.nekoid.cc/${uuid}`);
});
view_btn.on('click', async function () {

View file

@ -39,13 +39,13 @@
<div class="collapse navbar-collapse" id="navbar_supported_content">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="https://nekoul.com">Home</a>
<a class="nav-link active" aria-current="page" href="https://nekoid.cc">Home</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="https://github.com/rikkaneko/paste#api-specification">API</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://pb.nekoul.com/v1">Switch to old version</a>
<a class="nav-link" href="https://pb.nekoid.cc/v1">Switch to old version</a>
</li>
</ul>
<form class="d-flex" role="search">
@ -175,7 +175,7 @@
<div class="mb-3">
<h3>Paste Service</h3>
<p>
<a href="https://pb.nekoul.com">pb.nekoul.com</a> is a pastebin-like service hosted on Cloudflare Worker.
<a href="https://pb.nekoid.cc">pb.nekoid.cc</a> is a pastebin-like service hosted on Cloudflare Worker.
This service is primarily designed for own usage and interest only.<br>
All data may be deleted or expired without any notification and guarantee. Please <b>DO NOT</b> abuse this
service.
@ -189,7 +189,7 @@
</p>
</div>
<div>
<img src="https://files.nekoul.com/pub/satanichia.png" class="rounded mx-auto d-block w-100" loading="lazy"
<img src="https://files.nekoid.cc/pub/satanichia.png" class="rounded mx-auto d-block w-100" loading="lazy"
alt="There should be a Satanichia ~" data-bs-toggle="tooltip"
data-bs-placement="bottom" title="Satanichia is so cute >w<">
</div>