X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myslice%2Fconfig.py;h=593e88bd4e5d48e349167cf2cbc922e6a1969b94;hb=74b3a7675c43e2884b396cd9d5febfebc6e9ff97;hp=b882b7d4c63202bc5e02a618529e3edee954f4ac;hpb=6b837fb41910caca65fdb6483d7b18f111908074;p=myslice.git diff --git a/myslice/config.py b/myslice/config.py index b882b7d4..593e88bd 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 + +# an old-fashioned API - that's what is currently only supported + manifold_url = "http://localhost:7080/" +# this one runs a new API, but currently (april 2013) there are missing +# features; GetSession and GetPersons are still there (they should go away) and +# the code for retrieving metadata does not work as-is, and I have no clue +# what it should become anyways, so... +# 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;