Remove # in default frontend
Some checks failed
Deno / test (push) Has been cancelled
Docker image deploy / deploy (push) Has been cancelled

This commit is contained in:
2024-09-05 21:29:31 +08:00
parent 2ab16853ac
commit 4421f4fb15
2 changed files with 3 additions and 3 deletions

View File

@@ -63,7 +63,7 @@ export const handler: Handlers = {
const gid = st.info.gid;
const url = existed
? `${base}/gallery/${gid}?share=${token2}`
: `https://dev.ehf.lifegpc.com/#/gallery/${gid}?base=${
: `https://dev.ehf.lifegpc.com/gallery/${gid}?base=${
encodeURIComponent(base)
}&share=${token2}`;
return return_data({ url, token: st });
@@ -108,7 +108,7 @@ export const handler: Handlers = {
const token = encodeURIComponent(st.token);
const url = existed
? `${base}/gallery/${gid}?share=${token}`
: `https://dev.ehf.lifegpc.com/#/gallery/${gid}?base=${
: `https://dev.ehf.lifegpc.com/gallery/${gid}?base=${
encodeURIComponent(base)
}&share=${token}`;
return return_data({ url, token: st }, 201);

View File

@@ -38,7 +38,7 @@ export const handler: Handlers = {
const gid = st.info.gid;
const url = existed
? `${base}/gallery/${gid}?share=${token2}`
: `https://dev.ehf.lifegpc.com/#/gallery/${gid}?base=${
: `https://dev.ehf.lifegpc.com/gallery/${gid}?base=${
encodeURIComponent(base)
}&share=${token2}`;
return { url, token: st };