mirror of https://github.com/zer0bin-dev/zer0bin
gamer
This commit is contained in:
parent
a2b2ac3616
commit
67aada9d02
|
@ -162,7 +162,7 @@ async fn new_paste(state: web::Data<AppState>, data: web::Json<PartialPaste>) ->
|
|||
|
||||
#[actix_rt::main]
|
||||
async fn main() -> io::Result<()> {
|
||||
let config = config::load(PathBuf::from("../config.json"));
|
||||
let config = config::load(PathBuf::from("config.json"));
|
||||
let pool = PgPoolOptions::new()
|
||||
.max_connections(100)
|
||||
.connect(&config.databases.postgres_uri)
|
||||
|
|
Loading…
Reference in New Issue