Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion internal/build/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ var (
//goland:noinspection GoBoolExpressions
IsDev = Version == "0.0.0-dev" && !forceProd

PlatformBaseURI = "https://container-platform-backend.apps.intilitycloud.com"
PlatformBaseURI = "https://container-platform-backend.apps.intilitycloud.com"
PlatformBaseURIBlurite = "https://container-platform-blurite.apps.intilitycloud.com"

// SentryDSN is injected in the build from the CI/CD pipeline.
// It is disabled by default.
Expand Down Expand Up @@ -119,6 +120,14 @@ func PlatformAPIHost() string {
return PlatformBaseURI
}

func PlatformAPIHostBlurite() string {
if IsDev {
return "http://localhost:8082"
}

return PlatformBaseURIBlurite
}

func ClientID() string {
if IsDev {
return "27f5ab79-28cb-4824-b603-4b0795b8985e"
Expand Down
265 changes: 265 additions & 0 deletions mocks/AIAPIKeyClient.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading