Remove things not needed by sync_app
This commit is contained in:
30
example.ini
30
example.ini
@@ -1,34 +1,6 @@
|
||||
|
||||
[server:main]
|
||||
#use = egg:Paste#http
|
||||
use = egg:AnkiServer#server
|
||||
[sync_app]
|
||||
host = 127.0.0.1
|
||||
port = 27701
|
||||
|
||||
[filter-app:main]
|
||||
use = egg:Paste#translogger
|
||||
next = real
|
||||
|
||||
[app:real]
|
||||
use = egg:Paste#urlmap
|
||||
/collection = rest_app
|
||||
/sync = sync_app
|
||||
|
||||
[app:rest_app]
|
||||
use = egg:AnkiServer#rest_app
|
||||
data_root = ./collections
|
||||
allowed_hosts = 127.0.0.1
|
||||
logging.config_file = logging.conf
|
||||
|
||||
[app:sync_app]
|
||||
use = egg:AnkiServer#sync_app
|
||||
data_root = ./collections
|
||||
base_url = /sync/
|
||||
auth_db_path = ./auth.db
|
||||
mysql.host = 127.0.0.1
|
||||
mysql.user = db_user
|
||||
mysql.passwd = db_password
|
||||
mysql.db = db
|
||||
sql_check_password = SELECT uid FROM users WHERE name=%s AND pass=MD5(%s) AND status=1
|
||||
sql_username2dirname = SELECT uid AS dirname FROM users WHERE name=%s
|
||||
|
||||
|
||||
Reference in New Issue
Block a user