Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
tank
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AURA
tank
Commits
e996dcb2
Verified
Commit
e996dcb2
authored
4 months ago
by
Ernesto Rico Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
fix: always expand Env for CORS configuratio
parent
06cbd279
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmd/tank/config.go
+1
-3
1 addition, 3 deletions
cmd/tank/config.go
with
1 addition
and
3 deletions
cmd/tank/config.go
+
1
−
3
View file @
e996dcb2
...
...
@@ -81,9 +81,7 @@ func (c *Config) ExpandEnv() {
c
.
Auth
.
ExpandEnv
()
}
c
.
Web
.
AccessLogs
=
os
.
ExpandEnv
(
c
.
Web
.
AccessLogs
)
if
c
.
Web
.
Cors
!=
nil
{
c
.
Web
.
Cors
.
ExpandEnv
()
}
c
.
Web
.
Cors
.
ExpandEnv
()
}
func
ReadConfig
(
configfile
string
)
(
conf
*
Config
,
err
error
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment