mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-27 03:21:29 +03:00
Bug #770: Fixed non relative paths to make ozones fit to run on a reverse proxy
This commit is contained in:
parent
9ce9362829
commit
9154a08d83
@ -201,7 +201,7 @@ var oZones = {
|
||||
var request = oZones.Helper.request(resource,"login");
|
||||
|
||||
$.ajax({
|
||||
url: "/login",
|
||||
url: "login",
|
||||
type: "POST",
|
||||
data: {remember: remember},
|
||||
beforeSend : function(req) {
|
||||
@ -235,7 +235,7 @@ var oZones = {
|
||||
var request =oZones.Helper.request(resource,"logout");
|
||||
|
||||
$.ajax({
|
||||
url: "/logout",
|
||||
url: "logout",
|
||||
type: "POST",
|
||||
success: function(response)
|
||||
{
|
||||
@ -267,7 +267,7 @@ var oZones = {
|
||||
var request = oZones.Helper.request(resource,"list");
|
||||
|
||||
$.ajax({
|
||||
url: "/config",
|
||||
url: "config",
|
||||
type: "GET",
|
||||
dataType: "json",
|
||||
success: function(response)
|
||||
|
@ -47,7 +47,7 @@
|
||||
|
||||
<div id="header" class="ui-layout-north">
|
||||
<div id="logo">
|
||||
<img src="/images/opennebula-zones-small.png"/>
|
||||
<img src="images/opennebula-zones-small.png"/>
|
||||
</div>
|
||||
<div id="login-info">
|
||||
Welcome <span id="user"></span> | <a href="#" id="logout">Sign Out</a>
|
||||
|
Loading…
Reference in New Issue
Block a user