Skip to content

Commit a6204e1

Browse files
committed
feat: revert CORS rules for CPS, move to infra
1 parent af5527c commit a6204e1

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

coin-prices-server/src/index.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,7 @@ const middleware = async (req: Request, res: Response) => {
5959
const app = express();
6060
const port = 3000;
6161

62-
app.use(
63-
cors({
64-
origin: [
65-
'https://octant.app',
66-
/\.wildland\.dev/,
67-
'https://octant.build/',
68-
'https://octant-landing.netlify.app',
69-
],
70-
}),
71-
);
62+
app.use(cors());
7263
app.use('*', middleware);
7364

7465
app.listen(port, () => {

0 commit comments

Comments
 (0)