Get the working directory for the frontend. Can be overridden with REFLEX_WEB_WORKDIR. Returns: The working directory.
()
| 44 | |
| 45 | |
| 46 | def get_web_dir() -> Path: |
| 47 | """Get the working directory for the frontend. |
| 48 | |
| 49 | Can be overridden with REFLEX_WEB_WORKDIR. |
| 50 | |
| 51 | Returns: |
| 52 | The working directory. |
| 53 | """ |
| 54 | return environment.REFLEX_WEB_WORKDIR.get() |
| 55 | |
| 56 | |
| 57 | def get_states_dir() -> Path: |