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
2 changes: 1 addition & 1 deletion configs/Main/.env.Base
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
VITE_API_URL=http://localhost:5000
VITE_API_ANYWAY_URL=https://www.anyway.co.il
VITE_API_ANYWAY_URL=https://www.anyway.co.il
2 changes: 1 addition & 1 deletion src/services/AuthService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class AuthService {
* GET /sd-authorize/google
*/
getAuthorizeUrl = (redirectUrl?: string) => {
const url = new URL(`${this.apiUrl}/sd-authorize/google`);
const url = new URL(`https://www.anyway.co.il/sd-authorize/google`);
if (redirectUrl) {
url.searchParams.append('redirect_url', redirectUrl);
}
Expand Down
4 changes: 2 additions & 2 deletions src/utils/featureFlags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ export const FEATURE_FLAGS = {
* Risk Hotspot Model feature
* Disabled in production for now.
*/
RISK_MODEL: !isProd,
RISK_MODEL: true,

/**
* New Redirect-based Authentication flow
* Disabled in production for now.
*/
AUTH: !isProd,
AUTH: true,
};

/**
Expand Down