We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b38fd88 commit 0eec84cCopy full SHA for 0eec84c
app.ts
@@ -4,11 +4,7 @@ import TopicsRouter from "./routes/topics";
4
import cors from 'cors';
5
const app = express();
6
7
-const corsOptions = {
8
- origin: ['https://tulsawebdevs.org', 'https://www.tulsawebdevs.org']
9
-}
10
-
11
-app.use(cors(corsOptions))
+app.use(cors())
12
app.use(express.json());
13
14
app.use("/proposals", ProposalsRouter);
0 commit comments