官网/docs 嵌入新品牌图;sparkapi nginx 可在未重建镜像时提供 /favicon.ico 与页头 logo。 Co-authored-by: Cursor <cursoragent@cursor.com>
15 lines
186 B
Go
15 lines
186 B
Go
package httpx
|
|
|
|
import (
|
|
"embed"
|
|
)
|
|
|
|
//go:embed docs/openapi.yaml
|
|
var openAPISpec []byte
|
|
|
|
//go:embed docs/index.html
|
|
var docsHTML []byte
|
|
|
|
//go:embed docs/static/*
|
|
var docsStatic embed.FS
|