Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dict_ru_en.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const logger = require("./explorer/src/server/utils/Logger");
const schema = require("./explorer/src/server/Schema");
const cypher = require("./explorer/src/server/Cypher");
const state = require("./explorer/src/server/State");
const memory = require("./memory");

const CROSS_ORIGIN = process.env.CROSS_ORIGIN
? process.env.CROSS_ORIGIN.toLowerCase() === "true"
Expand Down Expand Up @@ -40,6 +41,7 @@ const MAX_PAYLOAD_SIZE = process.env.MAX_PAYLOAD_SIZE
const api = express.Router();
api.use("/schema", schema);
api.use("/cypher", cypher);
api.use("/memory", memory);
api.use("/", state);
app.use(express.json({ limit: MAX_PAYLOAD_SIZE }));
app.use("/", api);
Expand Down
Loading