Skip to content

Commit b1012eb

Browse files
committed
DEVSU-2192 change serverName default case to production and null
1 parent f300194 commit b1012eb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/views/PrintView/index.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -176,15 +176,15 @@ const Print = ({
176176
const seconds = currentDate.getSeconds().toString().padStart(2, '0');
177177
let serverName;
178178
switch (process.env.NODE_ENV) {
179-
case 'production':
180-
serverName = '';
181-
break;
182179
case 'development':
183180
serverName = '_iprdev';
184181
break;
185-
default:
182+
case 'staging':
186183
serverName = '_iprstaging';
187184
break;
185+
default:
186+
serverName = '';
187+
break;
188188
}
189189
const formattedDate = `${year}-${month}-${day}_${hours}h${minutes}m${seconds}s`;
190190

0 commit comments

Comments
 (0)