feat: switch default backend to permanent Cloudflare tunnel katdrop-api.oiupoyt.space

This commit is contained in:
katR 2026-09-12 18:06:39 +05:30
parent fd2be746a3
commit 0c3deb3f6f
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
a minimal, smooth file transfer service with 10-minute auto-deletion.
> **Note**: This repository uses a placeholder backend URL (`https://YOUR_BACKEND_URL.trycloudflare.com`) so no private endpoints are exposed publicly.
> **Backend API**: The official backend is powered by a permanent Cloudflare Tunnel at `https://katdrop-api.oiupoyt.space`.
## features

View file

@ -21,7 +21,7 @@
let selectedFiles = [];
// API Configuration (configurable via URL param ?api=... or localStorage)
const DEFAULT_REMOTE_API = 'https://lucia-hang-jackson-suggests.trycloudflare.com';
const DEFAULT_REMOTE_API = 'https://katdrop-api.oiupoyt.space';
const urlParams = new URLSearchParams(window.location.search);
if (urlParams.has('api')) {
const customApi = urlParams.get('api').replace(/\/+$/, '');