Skip to content

Commit

Permalink
Merge pull request #11 from appwrite/dotenv
Browse files Browse the repository at this point in the history
add dotenv
  • Loading branch information
fanatic75 authored Aug 28, 2023
2 parents 7386a68 + 154127e commit 8dab6e4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import bodyParser from "body-parser";
import cors from "cors";
import express from "express";
import { getChain, search_index } from "./embeddings.js";
import "dotenv/config";

const app = express();
app.use(
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"ai": "^2.1.15",
"body-parser": "^1.20.2",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"faiss-node": "^0.3.0",
"glob": "^10.3.1",
Expand Down
8 changes: 8 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8dab6e4

Please sign in to comment.