stable backend
[myslice.git] / myslice / config.py
1 class Config:
2
3 # this version of unfold expects a backend that runs a new API
4
5 # production should probably use https of course
6
7
8 # if you use a development backend running on this box
9 #    manifold_url = "http://localhost:7080/"
10 # the INRIA setup
11 #    manifold_url = "http://manifold.pl.sophia.inria.fr:7080/"
12 # the OpenLab-wide backend as managed by UPMC
13 # note that dev.myslice.info runs a more unstable code
14     manifold_url = "http://test.myslice.info:7080/"
15
16     # exporting these details to js
17     @staticmethod
18     def manifold_js_export ():
19         return "var MANIFOLD_URL = '%s';\n"%Config.manifold_url;