Skip to content

Commit

Permalink
fix: Update Copy right and added call to ConfigureCors()
Browse files Browse the repository at this point in the history
Signed-off-by: Leonard Goodell <leonard.goodell@intel.com>
  • Loading branch information
Leonard Goodell committed Jul 20, 2023
1 parent 9cb48b4 commit bbc2a8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions internal/app/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,8 @@ func (svc *Service) Initialize() error {
NewConfigUpdateProcessor(svc).WaitForConfigUpdates(configUpdated)

svc.webserver = webserver.NewWebServer(svc.dic, mux.NewRouter(), svc.serviceKey)
svc.webserver.ConfigureCors()

svc.lc.Info("Service started in: " + startupTimer.SinceAsString())

return nil
Expand Down
2 changes: 1 addition & 1 deletion internal/webserver/server.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright (c) 2021 Intel Corporation
// Copyright (c) 2023 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down

0 comments on commit bbc2a8d

Please sign in to comment.