Moves API URL to env config files for ease of testing and production deployments
This commit is contained in:
parent
1180a8c457
commit
66a9dbea5c
1
.env.production
Normal file
1
.env.production
Normal file
@ -0,0 +1 @@
|
|||||||
|
VITE_API_URL=https://ppapi.halfbinary.net
|
||||||
@ -1,4 +1,2 @@
|
|||||||
//const hostName = "http://192.168.187.129:8082"
|
const hostName = import.meta.env.VITE_API_URL
|
||||||
//const hostName = "http://localhost:8080"
|
|
||||||
const hostName = "http://192.168.187.118:8080"
|
|
||||||
export default hostName
|
export default hostName
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user