mirror of
https://github.com/lifegpc/eh-downloader.git
synced 2026-06-06 05:38:44 +08:00
Bug fix
This commit is contained in:
@@ -53,7 +53,7 @@ export const handler: Handlers = {
|
||||
}
|
||||
const existed = await exists(flutter_base);
|
||||
const host = get_host(req);
|
||||
const base = host + existed ? "/flutter" : "/api/";
|
||||
const base = host + (existed ? "/flutter" : "/api/");
|
||||
const token = encodeURIComponent(st.token);
|
||||
const url = existed
|
||||
? `${base}/gallery/${gid}?share=${token}`
|
||||
|
||||
Reference in New Issue
Block a user