@@ -273,13 +273,13 @@ class NichtParasoup(object):
273
273
# init webserver with routing
274
274
def __init__ (self ):
275
275
self .url_map = Map ([
276
- Rule ('/' + urlpath + '/' , endpoint = 'root' ),
277
- Rule ('/' + urlpath + '/status' , endpoint = 'cache_status' ),
278
- Rule ('/' + urlpath + '/get' , endpoint = 'cache_get' ),
279
- Rule ('/' + urlpath + '/imagelist' , endpoint = 'show_imagelist' ),
280
- Rule ('/' + urlpath + '/blacklist' , endpoint = 'show_blacklist' ),
281
- Rule ('/' + urlpath + '/flush' , endpoint = 'flush' ),
282
- Rule ('/' + urlpath + '/reset' , endpoint = 'reset' ),
276
+ Rule (urlpath + '/' , endpoint = 'root' ),
277
+ Rule (urlpath + '/status' , endpoint = 'cache_status' ),
278
+ Rule (urlpath + '/get' , endpoint = 'cache_get' ),
279
+ Rule (urlpath + '/imagelist' , endpoint = 'show_imagelist' ),
280
+ Rule (urlpath + '/blacklist' , endpoint = 'show_blacklist' ),
281
+ Rule (urlpath + '/flush' , endpoint = 'flush' ),
282
+ Rule (urlpath + '/reset' , endpoint = 'reset' ),
283
283
])
284
284
285
285
# proxy call to the wsgi_app
0 commit comments