mirror of
https://github.com/studiokaiji/nostr-webhost.git
synced 2025-12-17 06:44:28 +01:00
不要な変数を削除
This commit is contained in:
@@ -17,22 +17,6 @@ import (
|
|||||||
"github.com/studiokaiji/nostr-webhost/hostr/cmd/tools"
|
"github.com/studiokaiji/nostr-webhost/hostr/cmd/tools"
|
||||||
)
|
)
|
||||||
|
|
||||||
var availableContentTypes = []string{
|
|
||||||
"image/png",
|
|
||||||
"image/jpg",
|
|
||||||
"image/jpeg",
|
|
||||||
"image/gif",
|
|
||||||
"image/webp",
|
|
||||||
"video/mp4",
|
|
||||||
"video/quicktime",
|
|
||||||
"video/mpeg",
|
|
||||||
"video/webm",
|
|
||||||
"audio/mpeg",
|
|
||||||
"audio/mpg",
|
|
||||||
"audio/mpeg3",
|
|
||||||
"audio/mp3",
|
|
||||||
}
|
|
||||||
|
|
||||||
var availableContentSuffixes = []string{
|
var availableContentSuffixes = []string{
|
||||||
".png",
|
".png",
|
||||||
".jpg",
|
".jpg",
|
||||||
|
|||||||
Reference in New Issue
Block a user