Update index.js
Browse files
index.js
CHANGED
@@ -36,7 +36,8 @@ import cors from 'cors';
|
|
36 |
import bodyParser from 'body-parser';
|
37 |
import swaggerJsDoc from 'swagger-jsdoc';
|
38 |
|
39 |
-
// routes
|
|
|
40 |
import { GeminiRoutes } from './routes/googleGemini.js';
|
41 |
|
42 |
const CheckMilWares = new CheckMilWare();
|
@@ -56,6 +57,7 @@ app.use(
|
|
56 |
|
57 |
// routes
|
58 |
app.use(GeminiRoutes);
|
|
|
59 |
|
60 |
const swaggerOptions = {
|
61 |
definition: {
|
|
|
36 |
import bodyParser from 'body-parser';
|
37 |
import swaggerJsDoc from 'swagger-jsdoc';
|
38 |
|
39 |
+
// routes
|
40 |
+
import { FluxRoutes } from './plugins/fluxai.js';
|
41 |
import { GeminiRoutes } from './routes/googleGemini.js';
|
42 |
|
43 |
const CheckMilWares = new CheckMilWare();
|
|
|
57 |
|
58 |
// routes
|
59 |
app.use(GeminiRoutes);
|
60 |
+
app.use(FluxRoutes);
|
61 |
|
62 |
const swaggerOptions = {
|
63 |
definition: {
|