Rename offline clip for clarity with typescript
This commit is contained in:
4
static/static.go
vendored
4
static/static.go
vendored
@@ -51,12 +51,12 @@ func GetWebIndexTemplate() (*template.Template, error) {
|
||||
return tmpl, err
|
||||
}
|
||||
|
||||
//go:embed offline.ts
|
||||
//go:embed offline.tsclip
|
||||
var offlineVideoSegment []byte
|
||||
|
||||
// GetOfflineSegment will return the offline video segment data.
|
||||
func GetOfflineSegment() []byte {
|
||||
return getFileSystemStaticFileOrDefault("offline.ts", offlineVideoSegment)
|
||||
return getFileSystemStaticFileOrDefault("offline.tsclip", offlineVideoSegment)
|
||||
}
|
||||
|
||||
//go:embed img/logo.png
|
||||
|
||||
Reference in New Issue
Block a user