Compare commits
11 commits
main
...
homologaca
| Author | SHA1 | Date | |
|---|---|---|---|
| 1aba962b44 | |||
| 51e46b2532 | |||
| 57df2302cf | |||
| 1f4a83701c | |||
| c3ef2f79a1 | |||
| fdfcdeae2e | |||
| fe29ebaec1 | |||
| c7ded6654b | |||
| 68b34f0367 | |||
| 71aed624a4 | |||
| 0d3b2ef080 |
2 changed files with 14 additions and 1 deletions
13
config/database/firebird.json
Normal file
13
config/database/firebird.json
Normal 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
|
||||
}
|
||||
}
|
||||
2
main.py
2
main.py
|
|
@ -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=["*"],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue