index.js
CHANGED
@@ -76,7 +76,7 @@ app.use(async (req, res, next) => {
|
|
76 |
// app.use(helmet({ dnsPrefetchControl: false }));
|
77 |
|
78 |
app.use(cors({
|
79 |
-
origin: 'https
|
80 |
}));
|
81 |
|
82 |
app.use("/api/v1/", apiLimiter);
|
|
|
76 |
// app.use(helmet({ dnsPrefetchControl: false }));
|
77 |
|
78 |
app.use(cors({
|
79 |
+
origin: ['https://randydev-ryu-js.hf.space', 'https://randydev-chatbot.hf.space']
|
80 |
}));
|
81 |
|
82 |
app.use("/api/v1/", apiLimiter);
|