Correct API url in refstack.conf template
Since the api is hosted on /api, that needs to be included in the URL. Change-Id: I023fa8f80a90c45616c243df375b9fe27682c3b5
This commit is contained in:
parent
c606f64c73
commit
4f06b81398
@ -57,6 +57,8 @@ class refstack::params (
|
|||||||
# Construct website URL.
|
# Construct website URL.
|
||||||
$web_url = "${protocol}://${hostname}"
|
$web_url = "${protocol}://${hostname}"
|
||||||
|
|
||||||
|
$api_url = "${web_url}/api"
|
||||||
|
|
||||||
# CA file needs special treatment, since we want the path variable
|
# CA file needs special treatment, since we want the path variable
|
||||||
# to be undef in some cases.
|
# to be undef in some cases.
|
||||||
if $ssl_ca == undef and $ssl_ca_content != undef {
|
if $ssl_ca == undef and $ssl_ca_content != undef {
|
||||||
|
@ -4,7 +4,7 @@ ui_url=<%= scope.lookupvar("::refstack::params::web_url") %>
|
|||||||
|
|
||||||
[api]
|
[api]
|
||||||
|
|
||||||
api_url =<%= scope.lookupvar("::refstack::params::web_url") %>
|
api_url =<%= scope.lookupvar("::refstack::params::api_url") %>
|
||||||
|
|
||||||
[database]
|
[database]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user