aceleradora-TW / aceleradora-TW/e-acelera-back

[MVP2] fix: corrigir ALLOWED_ORIGINS para aceitar url da main

Offen
#19 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @stephanybrazeir0 Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
2
Forks
4
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

# Contexto

Anteriormente, utilizávamos a branch staging para testes em homologação. No entanto, essa branch nem sempre estava atualizada, o que exigia que as alterações fossem primeiro mescladas na main para, só então, serem propagadas para staging.

Para simplificar esse processo, decidimos apontar diretamente para a branch main para os testes em homologação. Com isso, foi configurado no Netlify para que a main alimente a homologação, gerando automaticamente uma nova URL: https://main--e-acelera-homologacao.netlify.app/

Portanto, será necessário atualizar no back-end as origens permitidas, substituindo a URL antiga da staging por esta nova.

## Tarefa

- Atualizar a origem permitida no back-end, substituindo a URL da branch staging pela nova URL da main.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start by locating the back-end configuration for ALLOWED_ORIGINS and identify the staging URL currently listed there. Replace that origin with https://main--e-acelera-homologacao.netlify.app/ and verify that the homologation application can access the back-end from the new main URL.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
typescript
Bereich
backend
Issue-Typ
Bug
Schwierigkeit
1/5
Geschätzter Aufwand
Unter einer Stunde
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.