Config: Update CORS header defaults and add /api/v1/echo endpoint #3931

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2024-01-16 14:36:08 +01:00
parent c660c729e2
commit 02a1b12edb
16 changed files with 148 additions and 28 deletions

View File

@@ -22,7 +22,7 @@ func TestSession(t *testing.T) {
})
}
func TestSessionResponse(t *testing.T) {
func TestGetSessionResponse(t *testing.T) {
t.Run("Public", func(t *testing.T) {
sess := get.Session().Public()
conf := get.Config().ClientSession(sess)