This commit is contained in:
E
2021-03-07 22:51:31 -07:00
parent 14395bdbdd
commit f338e14577
4 changed files with 6 additions and 8 deletions

View File

@@ -1,8 +1,7 @@
import { Client } from '../types'
import axios from 'axios'
import settings from '../settings'
if (settings.env === 'jank') {
if (process.env.NODE_ENV === 'development') {
const host = 'http://192.168.1.107:5000'
axios.defaults.baseURL = host
}