diff --git a/collector/utils/files/index.js b/collector/utils/files/index.js
index dd0f93150..6e43802ae 100644
--- a/collector/utils/files/index.js
+++ b/collector/utils/files/index.js
@@ -131,7 +131,9 @@ function writeToServerDocuments({
if (!fs.existsSync(destination))
fs.mkdirSync(destination, { recursive: true });
- const destinationFilePath = path.resolve(destination, filename) + ".json";
+ const destinationFilePath = normalizePath(
+ path.resolve(destination, filename) + ".json"
+ );
fs.writeFileSync(destinationFilePath, JSON.stringify(data, null, 4), {
encoding: "utf-8",
diff --git a/frontend/src/pages/GeneralSettings/MobileConnections/ConnectionModal/index.jsx b/frontend/src/pages/GeneralSettings/MobileConnections/ConnectionModal/index.jsx
index cbf603247..042be4943 100644
--- a/frontend/src/pages/GeneralSettings/MobileConnections/ConnectionModal/index.jsx
+++ b/frontend/src/pages/GeneralSettings/MobileConnections/ConnectionModal/index.jsx
@@ -7,6 +7,7 @@ import { useEffect, useState } from "react";
import MobileConnection from "@/models/mobile";
import PreLoader from "@/components/Preloader";
import Logo from "@/media/logo/anything-llm-infinity.png";
+import paths from "@/utils/paths";
export default function MobileConnectModal({ isOpen, onClose }) {
return (
@@ -55,7 +56,7 @@ export default function MobileConnectModal({ isOpen, onClose }) {
sync of your workspaces, chats, threads and documents.
Learn more
diff --git a/frontend/src/utils/paths.js b/frontend/src/utils/paths.js
index 49a4eef7b..f86cfe366 100644
--- a/frontend/src/utils/paths.js
+++ b/frontend/src/utils/paths.js
@@ -213,6 +213,9 @@ export default {
// TODO: Migrate all docs.anythingllm.com links to the new docs.
documentation: {
+ mobileIntroduction: () => {
+ return "https://docs.anythingllm.com/mobile/overview";
+ },
contextWindows: () => {
return "https://docs.anythingllm.com/chatting-with-documents/introduction#you-exceed-the-context-window---what-now";
},