Merge branch 'main' of http://student.git.athene.tech/ChipsEater/Polevoy_SUBD
This commit is contained in:
commit
6abd323314
@ -22,7 +22,7 @@ use backend::endpoints::owner::*;
|
|||||||
#[actix_web::main]
|
#[actix_web::main]
|
||||||
async fn main() -> std::io::Result<()> {
|
async fn main() -> std::io::Result<()> {
|
||||||
let (client, connection) = tokio_postgres::connect(
|
let (client, connection) = tokio_postgres::connect(
|
||||||
&format!("host={} user={} password={} dbname={}", dotenv!("HOST"), dotenv!("USER"), dotenv!("PASSWORD"), dotenv!("DBNAMEE")),
|
&format!("host={} user={} password={} dbname={}", dotenv!("HOST"), dotenv!("USERR"), dotenv!("PASSWORD"), dotenv!("DBNAMEE")),
|
||||||
NoTls
|
NoTls
|
||||||
).await.unwrap();
|
).await.unwrap();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user