mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-31 17:28:39 +00:00
Fix DbConnectionString getter
This commit is contained in:
parent
d2dcc68421
commit
a43d4200f6
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ namespace ProjectLighthouse.Types {
|
||||||
public static string DbConnectionString {
|
public static string DbConnectionString {
|
||||||
get {
|
get {
|
||||||
if(dbConnectionString == null) {
|
if(dbConnectionString == null) {
|
||||||
return dbConnectionString = Environment.GetEnvironmentVariable("") ?? "";
|
return dbConnectionString = Environment.GetEnvironmentVariable("LIGHTHOUSE_DB_CONNECTION_STRING") ?? "";
|
||||||
}
|
}
|
||||||
return dbConnectionString;
|
return dbConnectionString;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue