Compare commits

...
Sign in to create a new pull request.

11 commits

2 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,13 @@
{
"host": "185.139.1.35",
"name": "CARTORIO",
"port": 3050,
"user": "SYSDBA",
"password": "Sun147oi.",
"charset": "UTF8",
"pool" : {
"pre_ping" : true,
"size" : 5,
"max_overflow" :10
}
}

View file

@ -34,7 +34,7 @@ register_exception_handlers(app)
# Adiciona o middleware de CORS
app.add_middleware(
CORSMiddleware,
allow_origins=["http://localhost:3000"], # Domínio do frontend
allow_origins=["*"], # Domínio do frontend
allow_credentials=True,
allow_methods=["*"],
allow_headers=["*"],