Skip to content

Commit

Permalink
Shortened line length
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchellAV committed Nov 7, 2024
1 parent 35dc5cf commit 7b5bf31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/config/environment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const BASE_API_URL_APP_PRODUCTION = 'https://api.pv-validation-hub.org';

const parseEnvironment = () => {
if (typeof window !== 'undefined') {
if (window.location.hostname.includes('127.0.0.1') || window.location.hostname.includes('localhost')) {
if (window.location.hostname.includes('127.0.0.1') ||
window.location.hostname.includes('localhost')) {
return ENVIRONMENT_DEVELOPMENT;
}
if (window.location.hostname.includes('staging')) {
Expand Down

0 comments on commit 7b5bf31

Please sign in to comment.