We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0c1012 commit 9b6e9d8Copy full SHA for 9b6e9d8
1 file changed
packages/reflex-core/src/reflex_core/constants/base.py
@@ -99,7 +99,7 @@ class Reflex(SimpleNamespace):
99
LOGS_DIR = DIR / "logs"
100
101
# The root directory of the reflex library.
102
- ROOT_DIR = Path(__file__).parents[2]
+ ROOT_DIR = Path(__file__).parents[1]
103
104
RELEASES_URL = "https://api.github.com/repos/reflex-dev/templates/releases"
105
@@ -143,7 +143,7 @@ class Dirs(SimpleNamespace):
143
"""Folders used by the template system of Reflex."""
144
145
# The template directory used during reflex init.
146
- BASE = Reflex.ROOT_DIR / Reflex.MODULE_NAME / ".templates"
+ BASE = Reflex.ROOT_DIR / ".templates"
147
# The web subdirectory of the template directory.
148
WEB_TEMPLATE = BASE / "web"
149
# Where the code for the templates is stored.
0 commit comments