Extract IMPRESS_MYSQL_HOST environment variable

Oh beans, I made an env variable change that I thought would switch us over to db.impress.openneo.net, and I was just plain wrong, darn. impress-2020 has been fully failing since then, oops!!!

Here, we change it to be an environment variable, so that in the future it will work how I want it to lol
This commit is contained in:
Emi Matchu 2023-10-12 20:45:06 -07:00
parent a5dcf369bb
commit 76dd8059bb

View file

@ -18,7 +18,7 @@ const defaultOptions =
database: "openneo_impress",
}
: {
host: "impress.openneo.net",
host: process.env["IMPRESS_MYSQL_HOST"],
user: process.env["IMPRESS_MYSQL_USER"],
password: process.env["IMPRESS_MYSQL_PASSWORD"],
database: "openneo_impress",