randydev commited on
Commit
9aa013a
·
verified ·
1 Parent(s): 809c897
Files changed (1) hide show
  1. index.js +1 -1
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://*.hf.space'
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);