This commit is contained in:
2024-08-11 20:10:36 +08:00
parent 10f88c4223
commit e7b30cbd18

View File

@@ -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}`