mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-11-30 10:48:15 +08:00
[FIX] fix can't find version info when share in cloud.add event query interface
This commit is contained in:
parent
2ad25eb16b
commit
62eddf42ff
@ -18,7 +18,7 @@ from etc import settings
|
|||||||
import fileinput
|
import fileinput
|
||||||
load_dict = {}
|
load_dict = {}
|
||||||
with open("plugins/config.json", 'r') as load_f:
|
with open("plugins/config.json", 'r') as load_f:
|
||||||
load_dict = json.load(load_f)
|
load_dict = json.loads(load_f)
|
||||||
logging.config.dictConfig(settings.get_logging(load_dict))
|
logging.config.dictConfig(settings.get_logging(load_dict))
|
||||||
logger = logging.getLogger('default')
|
logger = logging.getLogger('default')
|
||||||
|
|
||||||
|
@ -41,7 +41,6 @@ func APIServer() *chi.Mux {
|
|||||||
})
|
})
|
||||||
r.Route("/event", func(r chi.Router) {
|
r.Route("/event", func(r chi.Router) {
|
||||||
r.Get("/",controller.GetEventsByIds)
|
r.Get("/",controller.GetEventsByIds)
|
||||||
|
|
||||||
})
|
})
|
||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user