randydev commited on
Commit
f0d7603
·
verified ·
1 Parent(s): cada965

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +12 -0
index.js CHANGED
@@ -99,6 +99,18 @@ app.use(AllDlRoutes);
99
 
100
  const specs = swaggerJsDoc(swaggerOptions);
101
 
 
 
 
 
 
 
 
 
 
 
 
 
102
  app.delete("/api/v1/delete-key", async (req, res) => {
103
  const dbClient = new Database("AkenoXJs");
104
  const collection = dbClient.collection("api_keys");
 
99
 
100
  const specs = swaggerJsDoc(swaggerOptions);
101
 
102
+ const AllJsonReques = {
103
+ "AkenoXAPI": {
104
+ "ai": {
105
+ "method": "ai/gpt-old",
106
+ "headers": true,
107
+ }
108
+ }
109
+ }
110
+ app.get("/alljson", async (req, res) => {
111
+ res.json(AllJsonReques);
112
+
113
+ });
114
  app.delete("/api/v1/delete-key", async (req, res) => {
115
  const dbClient = new Database("AkenoXJs");
116
  const collection = dbClient.collection("api_keys");