memos/api/resource
Lincoln Nogueira 411e807dcc
chore: use consistent relative paths for resources ()
- always store resources with a relative path with forward slashes, which will be transformed as needed when the file is accessed

- fix an issue with thumbnail generation on Windows

- add several validations for local storage setting

- improve front-end error feedback when changing local storage

- add migrations to make existing resource paths relative (not needed, but improves database consistency)
..
resource.go chore: use consistent relative paths for resources ()