fix myplugin JS example on_new_record function
[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 #   manifold_url = "http://dev.myslice.info:7080/" # development version
14 #   manifold_url = "http://test.myslice.info:7080/" #stable version
15     manifold_url = "http://localhost:7080/" #stable version
16     
17     # exporting these details to js
18     @staticmethod
19     def manifold_js_export ():
20         return "var MANIFOLD_URL = '%s';\n"%Config.manifold_url;