mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2025-07-05 11:24:08 +02:00
Use config file for OME broadcasting
This commit is contained in:
@ -61,7 +61,8 @@ func viewerHandler(w http.ResponseWriter, r *http.Request) {
|
||||
Cfg *Options
|
||||
Path string
|
||||
WidgetURL string
|
||||
}{Path: path, Cfg: cfg, WidgetURL: ""}
|
||||
OMEApp string
|
||||
}{Path: path, Cfg: cfg, WidgetURL: "", OMEApp: omeCfg.App}
|
||||
|
||||
// Load widget is user does not disable it with ?nowidget
|
||||
if _, ok := r.URL.Query()["nowidget"]; !ok {
|
||||
|
Reference in New Issue
Block a user