From a4a55dff69306c65b70f02f822345e14851723ef Mon Sep 17 00:00:00 2001 From: tituspijean Date: Wed, 18 Oct 2023 23:13:46 +0200 Subject: [PATCH] Fix ridiculous localhost resolving to ::1 and being rejected by database --- conf/env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/env b/conf/env index 6408910..da59178 100644 --- a/conf/env +++ b/conf/env @@ -1,6 +1,6 @@ NODE_ENV=production PORT=__PORT__ -NC_DB=mysql2://localhost:3306?u=__DB_USER__&p=__DB_PWD__&d=__DB_NAME__ +NC_DB=mysql2://127.0.0.1:3306?u=__DB_USER__&p=__DB_PWD__&d=__DB_NAME__ NC_AUTH_JWT_SECRET=__JWT_SECRET__ NC_DISABLE_TELE=1 NC_PUBLIC_URL=https://__DOMAIN__