We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57d47da commit 765a6a4Copy full SHA for 765a6a4
src/py/reactpy/reactpy/backend/asgi.py
@@ -99,11 +99,11 @@ def __init__(
99
"The first argument to ReactPy(...) must be a component or an "
100
"ASGI application."
101
)
102
- if check_path(dispatcher_path):
+ if not check_path(dispatcher_path):
103
raise ValueError("Invalid `dispatcher_path`.")
104
- if check_path(web_modules_path):
+ if not check_path(web_modules_path):
105
raise ValueError("Invalid `web_modules_path`.")
106
- if check_path(static_path):
+ if not check_path(static_path):
107
raise ValueError("Invalid `static_path`.")
108
109
async def __call__(
0 commit comments