diff --git a/core/src/fs.ts b/core/src/fs.ts index b428a7841..d12b473bf 100644 --- a/core/src/fs.ts +++ b/core/src/fs.ts @@ -1,5 +1,3 @@ -const fetchRetry = require("fetch-retry")(global.fetch); - /** * Writes data to a file at the specified path. * @param {string} path - The path to the file. diff --git a/server/.gitignore b/server/.gitignore new file mode 100644 index 000000000..6320cd248 --- /dev/null +++ b/server/.gitignore @@ -0,0 +1 @@ +data \ No newline at end of file diff --git a/server/package.json b/server/package.json index 405f2bf5b..76262ba51 100644 --- a/server/package.json +++ b/server/package.json @@ -3,7 +3,7 @@ "version": "0.1.3", "main": "./build/main.js", "author": "Jan ", - "license": "MIT", + "license": "AGPL-3.0", "homepage": "https://github.com/janhq/jan/tree/main/electron", "description": "Use offline LLMs with your own data. Run open source models like Llama2 or Falcon on your internal computers/servers.", "build": { diff --git a/server/v1/index.ts b/server/v1/index.ts index 8a153cbaf..89d73200b 100644 --- a/server/v1/index.ts +++ b/server/v1/index.ts @@ -9,7 +9,7 @@ const router: FastifyPluginAsync = async (app: FastifyInstance, opts) => { app.register( assistantsAPI, { - prefix: "/assisstants" + prefix: "/assistants" } )