mirror of
https://github.com/Dvorinka/excalidraw-full.git
synced 2026-07-29 15:43:47 +00:00
update
This commit is contained in:
@@ -5,7 +5,6 @@ import (
|
||||
_ "embed"
|
||||
"excalidraw-complete/handlers/api/firebase"
|
||||
"excalidraw-complete/handlers/api/kv"
|
||||
"excalidraw-complete/handlers/api/openai"
|
||||
"excalidraw-complete/handlers/auth"
|
||||
authMiddleware "excalidraw-complete/middleware"
|
||||
"excalidraw-complete/stores"
|
||||
@@ -159,9 +158,6 @@ func setupRouter(store stores.Store, workspaceAPI *workspace.API) *chi.Mux {
|
||||
r.Delete("/", kv.HandleDeleteCanvas(store))
|
||||
})
|
||||
})
|
||||
r.Route("/chat", func(r chi.Router) {
|
||||
r.Post("/completions", openai.HandleChatCompletion())
|
||||
})
|
||||
})
|
||||
|
||||
// Legacy anonymous document routes removed per project.md Phase 1.
|
||||
@@ -389,7 +385,6 @@ func main() {
|
||||
}
|
||||
|
||||
auth.InitAuth()
|
||||
openai.Init()
|
||||
store := stores.GetStore()
|
||||
workspaceStore, err := workspace.NewStore(os.Getenv("DATABASE_URL"))
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user