pointing to manifold backend
[myslice.git] / myslice / config.py
1 class Config:
2
3     # production should use https of course
4
5 # an old-fashioned API - that's what is currently only supported   
6     #manifold_url = "http://manifold.pl.sophia.inria.fr:7080/"
7     manifold_url = "http://localhost:7080/"
8 # this one runs a new API, but currently (april 2013) there are missing
9 # features; GetSession and GetPersons are still there (they should go away) and 
10 # the code for retrieving metadata does not work as-is, and I have no clue 
11 # what it should become anyways, so...
12 #    manifold_url = "http://dev.myslice.info:7080/"
13
14     # exporting these details to js
15     @staticmethod
16     def manifold_js_export ():
17         return "var MANIFOLD_URL = '%s';\n"%Config.manifold_url;