Hotfix for Proxy

This commit is contained in:
Mukhtar Akere
2025-02-13 17:31:54 +01:00
parent 32ecc08a72
commit 6a24c372f5
3 changed files with 3 additions and 4 deletions

View File

@@ -27,7 +27,6 @@ func Start(ctx context.Context) error {
svc := service.New()
_qbit := qbit.New()
_proxy := proxy.NewProxy()
srv := server.New()
webRoutes := web.New(_qbit).Routes()
qbitRoutes := _qbit.Routes()
@@ -40,7 +39,7 @@ func Start(ctx context.Context) error {
wg.Add(1)
go func() {
defer wg.Done()
if err := _proxy.Start(ctx); err != nil {
if err := proxy.NewProxy().Start(ctx); err != nil {
errChan <- err
}
}()