@@ -150,7 +150,7 @@ func loadConfiguration(file, service string) (config.JSONConfigurationService, e
150150}
151151
152152// Function to load the configuration from a single YAML file
153- func loadConfigurationYAML (file string ) (config.AdminConfiguration , error ) {
153+ /* func loadConfigurationYAML(file string) (config.AdminConfiguration, error) {
154154 var cfg config.AdminConfiguration
155155 // Load file and read config
156156 viper.SetConfigFile(file)
@@ -160,7 +160,7 @@ func loadConfigurationYAML(file string) (config.AdminConfiguration, error) {
160160 }
161161 // No errors!
162162 return cfg, nil
163- }
163+ }*/
164164
165165// Initialization code
166166func init () {
@@ -357,13 +357,13 @@ func osctrlAdminService() {
357357 // Admin: static
358358 adminMux .Handle ("GET /static/" , http .StripPrefix ("/static" , http .FileServer (http .Dir (flagParams .StaticFiles ))))
359359 // Admin: background image
360- adminMux .HandleFunc ("GET /background.png " , func (w http.ResponseWriter , r * http.Request ) {
360+ adminMux .HandleFunc ("GET /background-image " , func (w http.ResponseWriter , r * http.Request ) {
361361 http .ServeFile (w , r , flagParams .BackgroundImage )
362362 })
363363 // ///////////////////////// AUTHENTICATED CONTENT
364364 // Admin: branding image
365365 adminMux .Handle (
366- "GET /branding.png " ,
366+ "GET /branding-image " ,
367367 handlerAuthCheck (
368368 http .HandlerFunc (func (w http.ResponseWriter , r * http.Request ) {
369369 http .ServeFile (w , r , flagParams .BrandingImage )
0 commit comments