Add local agent, only for images
This commit is contained in:
@@ -3,7 +3,6 @@ package public
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"net/http"
|
||||
"time"
|
||||
@@ -27,15 +26,6 @@ func New(artwork artwork.Artwork) *Router {
|
||||
p := &Router{artwork: artwork}
|
||||
p.Handler = p.routes()
|
||||
|
||||
t, err := auth.CreatePublicToken(map[string]any{
|
||||
"id": "al-ee07551e7371500da55e23ae8520f1d8",
|
||||
"size": 300,
|
||||
})
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
fmt.Println("!!!!!!!!!!!!!!!!!", t, "!!!!!!!!!!!!!!!!")
|
||||
|
||||
return p
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user