Revision c3e119f5 src/gr/grnet/pithos/web/client/Pithos.java

b/src/gr/grnet/pithos/web/client/Pithos.java
130 130

  
131 131
        LOG("Computed STORAGE_API_URL = ", STORAGE_API_URL);
132 132
    }
133

  
134
    public static final String STORAGE_VIEW_URL;
135
    static {
136
        final String viewURL = getFromOtherPropertiesOrNull("STORAGE_VIEW_URL");
137
        if(viewURL != null) {
138
            STORAGE_VIEW_URL = viewURL;
139
        }
140
        else {
141
            STORAGE_VIEW_URL = STORAGE_API_URL;
142
        }
143

  
144
        LOG("Computed STORAGE_VIEW_URL = ", STORAGE_VIEW_URL);
145
    }
146

  
133 147
    public static final String USER_CATALOGS_API_URL;
134 148
    static {
135 149
        if(OTHERPROPS_USER_CATALOGS_API_URL != null) {
......
1083 1097
        return STORAGE_API_URL;
1084 1098
    }
1085 1099

  
1100
    public static String getStorageViewURL() {
1101
        return STORAGE_VIEW_URL;
1102
    }
1103

  
1086 1104
    public static String getUserCatalogsURL() {
1087 1105
        return USER_CATALOGS_API_URL;
1088 1106
    }

Also available in: Unified diff