Skip to content

Commit

Permalink
feat: update cors origins
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilhermeasper committed Apr 28, 2024
1 parent 617487c commit beb2e75
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ const app: Express = express();

dotevn.config();

const allowlist = [
'http://localhost:4200',
'https://devaneios.guilhermeasper.dev.br:3105',
];
const allowlist = ['http://localhost:4200', 'https://marquinhos-74154.web.app'];

const corsOptionsDelegate = function (req: Request, callback: Function) {
let corsOptions;
Expand Down

0 comments on commit beb2e75

Please sign in to comment.