X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myslice%2Fconfig.py;h=8d2d28b36d041060f1cbd20f277d53793acdc3d2;hb=11b0b9460fe3d22e3344a60641cff0f594584eb8;hp=84a0ee0dcb8ebda33ff1811a3234e4f2dbbfb9c5;hpb=de93a901d06d0f4f666ff0fcafd1fa024da144e1;p=myslice.git diff --git a/myslice/config.py b/myslice/config.py index 84a0ee0d..8d2d28b3 100644 --- a/myslice/config.py +++ b/myslice/config.py @@ -1,10 +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_url (): - return "http://%s:%s%s"%(Config.manifold_server,Config.manifold_port,Config.manifold_path) + def manifold_js_export (): + return "var MANIFOLD_URL = '%s';\n"%Config.manifold_url;