Name standalone mobile editor path

This commit is contained in:
yoma committed 2026-07-08 02:32:24 +08:00
1 parent 5fe180f4a5
commit dfafc10ccf
1 file changed
+3 -1
+3 -1
View File
@@ -1,9 +1,11 @@
export const STANDALONE_MOBILE_EDITOR_PATH = "/mobile-edit.html";
export const getStandaloneMobileEditorHref = (memoId: string, returnTo = "/") => {
const params = new URLSearchParams({
memoId,
returnTo,
});
return `/mobile-edit.html#${params.toString()}`;
return `${STANDALONE_MOBILE_EDITOR_PATH}#${params.toString()}`;
};
export const openStandaloneMobileEditor = (memoId: string, returnTo = "/") => {