Remove custom paths and add constants (#216)
This commit is contained in:
12
config/constants.go
Normal file
12
config/constants.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package config
|
||||
|
||||
import "path/filepath"
|
||||
|
||||
const (
|
||||
WebRoot = "webroot"
|
||||
PrivateHLSStoragePath = "hls"
|
||||
)
|
||||
|
||||
var (
|
||||
PublicHLSStoragePath = filepath.Join(WebRoot, "hls")
|
||||
)
|
||||
Reference in New Issue
Block a user