mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-06 21:29:12 +00:00
Make raw data reactive to changes
This commit is contained in:
@@ -36,6 +36,12 @@ def config():
|
||||
print(config)
|
||||
return config
|
||||
|
||||
@app.post('/config')
|
||||
def config():
|
||||
print("hello posted config")
|
||||
print(config)
|
||||
return config
|
||||
|
||||
@app.get('/search')
|
||||
def search(q: str, n: Optional[int] = 5, t: Optional[SearchType] = None):
|
||||
if q is None or q == '':
|
||||
|
||||
Reference in New Issue
Block a user