mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-24 02:57:19 +08:00
feat: static files for embed viewers (#2739)
This commit is contained in:
@@ -17,7 +17,7 @@ func StoragesLoaded(c *gin.Context) {
|
||||
c.Next()
|
||||
return
|
||||
}
|
||||
paths := []string{"/assets", "/images", "/streamer"}
|
||||
paths := []string{"/assets", "/images", "/streamer", "/static"}
|
||||
for _, path := range paths {
|
||||
if strings.HasPrefix(c.Request.URL.Path, path) {
|
||||
c.Next()
|
||||
|
||||
Reference in New Issue
Block a user