As oyster swap is a dated project, I do not recommend you deploy it on the Solana Mainnet due to security reasons.
If you still want to deploy it on the Mainnet, here are some changes you may need to do:
Many NFT projects launched on Solana last year. It seems that the Solana Mainnet endpoints offered by Solana lab are changed to whitelist only. Your domain may not be able to submit a request to their endpoints. Therefore, you will need to change the Mainnet endpoints from https://solana-api.projectserum.com/ or https://api.mainnet-beta.solana.com to https://api.metaplex.solana.com/ Modify connection.tsx on src/utils/connection.tsx
{
name: "mainnet-beta" as ENV,
endpoint: "https://api.metaplex.solana.com/",
},
Optional: If you want to remove the “Swap is unaudited software. Use at your own risk.” banner, move to App.tsx and remove
{
name: "mainnet-beta" as ENV,
endpoint: "https://api.metaplex.solana.com/",
},