mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-06 13:22:12 +00:00
Create global constant to store app root directory
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
web_directory = Path(__file__).parent.parent / 'interface/web/'
|
app_root_directory = Path(__file__).parent.parent.parent
|
||||||
|
web_directory = app_root_directory / 'src/interface/web/'
|
||||||
empty_escape_sequences = r'\n|\r\t '
|
empty_escape_sequences = r'\n|\r\t '
|
||||||
|
|||||||
Reference in New Issue
Block a user