Routing: Prefix frontend UI routes with /library #840 #2466

Also improves migrations and updates the db schema docs.

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2022-10-15 21:54:11 +02:00
parent 3bad6820d7
commit e3bb8b19dd
202 changed files with 3189 additions and 2608 deletions

View File

@@ -76,14 +76,14 @@ func childAlreadyRunning(filePath string) (pid int, running bool) {
pid, err := daemon.ReadPidFile(filePath)
// Failed?
// RunFailed?
if err != nil {
return pid, false
}
process, err := os.FindProcess(pid)
// Failed?
// RunFailed?
if err != nil {
return pid, false
}