This commit is contained in:
Kainoa Kanter 2022-03-05 14:44:02 -08:00
parent a2b2ac3616
commit 67aada9d02
1 changed files with 1 additions and 1 deletions

View File

@ -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)