Closed Cp0204 closed 11 months ago
docker运行,打开web页面出现
ModuleNotFoundError at /api/user_action No module named 'api.util' Request Method: GET Request URL: http://****.****.****:21114/api/user_action?action=login Django Version: 5.0 Exception Type: ModuleNotFoundError Exception Value: No module named 'api.util' Exception Location: <frozen importlib._bootstrap>, line 1004, in _find_and_load_unlocked Raised during: api.views_front.user_action Python Executable: /usr/local/bin/python Python Version: 3.10.3 Python Path: ['/rustdesk-api-server', '/usr/local/lib/python310.zip', '/usr/local/lib/python3.10', '/usr/local/lib/python3.10/lib-dynload', '/usr/local/lib/python3.10/site-packages'] Server time: Mon, 11 Dec 2023 17:12:03 +0800
注释掉这行就没问题
紧急更新bug创造新的bug。 这是计划开发内容中的一个全局上下文登录检测的东西,脚本更新上去了。
docker运行,打开web页面出现
https://github.com/kingmo888/rustdesk-api-server/blob/bb5dcfd488e9a870460673cf2f7acabe2a75ae37/rustdesk_server_api/settings.py#L66
注释掉这行就没问题