Skip to content

Commit 392ad4a

Browse files
committed
Update production origin for NPMService
1 parent ace766c commit 392ad4a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/store/services/NPMService.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
// let _origin = 'https://pkgstats.com/npm';
2-
let _origin = 'http://192.168.1.198:3000/npm';
1+
let _origin = process.env.NODE_ENV !== 'production'
2+
? 'http://192.168.1.32:3000/npm'
3+
: 'https://www.pkgstats.com/npm';
34

45
class NPMService {
56
static get origin() {

0 commit comments

Comments
 (0)