mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
This commit is contained in:
parent
d177039e23
commit
32bde0df44
@ -243,7 +243,7 @@ define(function(require) {
|
||||
url: 'config',
|
||||
type: "GET",
|
||||
headers: {
|
||||
"ZONE_NAME" : this.id
|
||||
"ZONE-NAME" : this.id
|
||||
},
|
||||
dataType: "json",
|
||||
success: function() {
|
||||
|
@ -386,7 +386,7 @@ before do
|
||||
# Try with underscores
|
||||
if zone_name_header.nil?
|
||||
hpref = "HTTP_"
|
||||
head_zone = "ZONE_NAME"
|
||||
head_zone = "ZONE-NAME"
|
||||
|
||||
zone_name_header = reqenv[head_zone] ? reqenv[head_zone] : reqenv[hpref+head_zone]
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user