Skip to content

Commit

Permalink
Acho que esta
Browse files Browse the repository at this point in the history
  • Loading branch information
SRamoras committed Dec 7, 2024
1 parent 0d11792 commit d1066cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const app = express();

// Configuração detalhada do CORS
app.use(cors({
origin: 'https://sramoras.github.io/StoryTime', // URL do seu frontend no GitHub Pages
origin: 'https://sramoras.github.io/storytime', // URL do seu frontend no GitHub Pages
methods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'],
allowedHeaders: ['Content-Type', 'Authorization'],
optionsSuccessStatus: 204
Expand Down

0 comments on commit d1066cb

Please sign in to comment.