Commit Graph

4 Commits

Author SHA1 Message Date
720bb690ea auth: Initial JWT implementation
We'll use a JWT in the `Authorization` request header to identify the
user saving a page.  The token will need to be set in the _authorization
token_ field in the SingleFile configuration so it will be included when
uploading.
2025-04-05 17:07:39 -05:00
a1308507af main: Add better config/init error messages
The default messages printed when the process panics because the
configuration could not be loaded or the application context could not
be initialized are somewhat difficult to read.  Instead of calling
`unwrap` in these cases, we need to explicitly handle the errors and
print more appropriate messages.
2025-04-05 17:07:19 -05:00
df560b18f2 page: Instrument save_page function
Adding a span and event to track indexing time.
2025-04-05 17:07:19 -05:00
03fe19aa9b Initial commit 2025-04-05 17:07:19 -05:00