From 2ef4bd13ee57a057a7014af275e0b799dc633e8f Mon Sep 17 00:00:00 2001 From: Christos KK Loverdos Date: Fri, 1 Feb 2013 18:52:54 +0200 Subject: [PATCH] Add a FIXME note on how to obtain the server URL for /user_catalogs call --- src/gr/grnet/pithos/web/client/catalog/GetUserCatalogs.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gr/grnet/pithos/web/client/catalog/GetUserCatalogs.java b/src/gr/grnet/pithos/web/client/catalog/GetUserCatalogs.java index 3cb6669..752dbbb 100644 --- a/src/gr/grnet/pithos/web/client/catalog/GetUserCatalogs.java +++ b/src/gr/grnet/pithos/web/client/catalog/GetUserCatalogs.java @@ -43,6 +43,7 @@ public class GetUserCatalogs implements Scheduler.ScheduledCommand { public GetUserCatalogs(Pithos app, List ids, List names) { assert app != null; + // FIXME: Probably use Window.Location.getHost() // https://server.com/v1/ --> https://server.com String path = app.getApiPath(); path = Helpers.stripTrailing(path, "/"); -- 1.7.10.4