mirror of
https://github.com/weaveworks/scope.git
synced 2026-02-14 18:09:59 +00:00
17 lines
287 B
Go
17 lines
287 B
Go
package main
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/weaveworks/scope/prog/externalui"
|
|
"github.com/weaveworks/scope/prog/staticui"
|
|
)
|
|
|
|
// GetFS obtains the UI code
|
|
func GetFS(useExternal bool) http.FileSystem {
|
|
if useExternal {
|
|
return externalui.FS(false)
|
|
}
|
|
return staticui.FS(false)
|
|
}
|