Skip to content

Commit

Permalink
feature(svc) make default mode as bff
Browse files Browse the repository at this point in the history
  • Loading branch information
vani-rf committed Jan 23, 2025
1 parent 7810eab commit d70748a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkg/acl/user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ func loadConfig() *raiden.Config {
SupabaseApiBasePath: "/v1",
SupabaseApiUrl: "http://supabase.cloud.com",
SupabasePublicUrl: "http://supabase.cloud.com",
Mode: raiden.BffMode,
}
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/controllers/state_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ func loadConfig() *raiden.Config {
SupabaseApiBasePath: "/v1",
SupabaseApiUrl: "http://supabase.cloud.com",
SupabasePublicUrl: "http://supabase.cloud.com",
Mode: raiden.BffMode,
}
}

Expand All @@ -34,7 +35,6 @@ func TestStateController_Post(t *testing.T) {
}
config := loadConfig()
config.AllowedTables = "*"
config.Mode = raiden.BffMode
resource.ImportLogger = logger.HcLog().Named("import")

mockContext := &mock.MockContext{
Expand Down
1 change: 1 addition & 0 deletions pkg/generator/apply_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ func loadConfig() *raiden.Config {
SupabaseApiBasePath: "/v1",
SupabaseApiUrl: "http://supabase.cloud.com",
SupabasePublicUrl: "http://supabase.cloud.com",
Mode: raiden.BffMode,
}
}

Expand Down
1 change: 1 addition & 0 deletions router_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ func loadConfig() *raiden.Config {
CorsAllowedOrigins: "*",
CorsAllowedMethods: "GET, POST, PUT, DELETE, OPTIONS",
CorsAllowedHeaders: "X-Requested-With, Content-Type, Authorization",
Mode: raiden.BffMode,
}
}

Expand Down

0 comments on commit d70748a

Please sign in to comment.