fix(gp): weird issue with db username and password
All checks were successful
Build and Push LST Docker Image / docker (push) Successful in 1m41s

This commit is contained in:
2026-04-22 06:39:22 -05:00
parent a6d53f0266
commit d6328ab764
3 changed files with 6 additions and 7 deletions

View File

@@ -1,16 +1,14 @@
import type sql from "mssql";
const username = process.env.GP_USER ?? "gpviewer";
const password = process.env.GP_PASSWORD ?? "gp$$ViewOnly!";
const gpServer = process.env.GP_SERVER ?? "USMCD1VMS011";
const username = "gpviewer";
const password = "gp$$ViewOnly!";
const port = process.env.SQL_PORT
? Number.parseInt(process.env.SQL_PORT, 10)
: undefined;
export const gpSqlConfig: sql.config = {
server: gpServer,
server: `${process.env.GP_SERVER ?? "USMCD1VMS011"}`,
port: port,
database: `ALPLA`,
user: username,