Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
qiuqunfeng
waf-console
Commits
5e152874
Commit
5e152874
authored
Apr 17, 2025
by
qiuqunfeng
Browse files
debug
parent
b56b4505
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
cmd/app/config.go
cmd/app/config.go
+1
-0
No files found.
cmd/app/config.go
View file @
5e152874
...
...
@@ -65,6 +65,7 @@ func LoadConfig() *Config {
log
.
Info
()
.
Msgf
(
"config password: %s"
,
config
.
DBConfig
.
Password
)
password
:=
os
.
Getenv
(
"RDB_PASSWORD"
)
log
.
Info
()
.
Msgf
(
"RDB_PASSWORD: %s"
,
password
)
log
.
Info
()
.
Msgf
(
"config: %+v"
,
config
)
if
password
!=
""
{
config
.
DBConfig
.
Password
=
password
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment