X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myslice%2Fconfig.py;h=8d2d28b36d041060f1cbd20f277d53793acdc3d2;hb=abba116c28db312ee1cb4ca6897f358168f86c7c;hp=b882b7d4c63202bc5e02a618529e3edee954f4ac;hpb=6b837fb41910caca65fdb6483d7b18f111908074;p=myslice.git diff --git a/myslice/config.py b/myslice/config.py index b882b7d4..8d2d28b3 100644 --- a/myslice/config.py +++ b/myslice/config.py @@ -1,6 +1,16 @@ class Config: -# manifold_server = 'demo.myslice.info' - manifold_server = 'debian04.pl.sophia.inria.fr' - manifold_port = '7080' - manifold_path = '/' + # production should use https of course + +# this version of unfold expects a backend that runs a new API +# xxx +# -- although currently (april 2013) there are missing features +# e.g. GetSession and GetPersons are still there -- they should go away +# also the code for retrieving metadata does not work as-is +# manifold_url = "http://localhost:7080/" + manifold_url = "http://dev.myslice.info:7080/" + + # exporting these details to js + @staticmethod + def manifold_js_export (): + return "var MANIFOLD_URL = '%s';\n"%Config.manifold_url;