admin: Fix video route
This commit is contained in:
parent
b92381f007
commit
4a190f51c5
8 changed files with 28 additions and 7 deletions
|
|
@ -41,6 +41,11 @@ type Importer interface {
|
|||
stat(filename string) (os.FileInfo, error)
|
||||
}
|
||||
|
||||
// DirectAccessImporter abstracts importer that support direct file access through a local path
|
||||
type DirectAccessImporter interface {
|
||||
GetLocalPath(p ...string) string
|
||||
}
|
||||
|
||||
// GlobalImporter stores the main importer instance to use for global imports.
|
||||
var GlobalImporter Importer
|
||||
|
||||
|
|
|
|||
Reference in a new issue