feat: switch default backend to permanent Cloudflare tunnel katdrop-api.oiupoyt.space
This commit is contained in:
parent
fd2be746a3
commit
0c3deb3f6f
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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(/\/+$/, '');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue