diff --git a/frontend/.env.development b/frontend/.env.development index 275af85c..410388e1 100644 --- a/frontend/.env.development +++ b/frontend/.env.development @@ -1,4 +1,2 @@ NODE_ENV='development' -VUE_APP_BASE_URL=http://localhost:8000 -VUE_APP_CRAWLAB_BASE_URL=https://api.crawlab.cn -VUE_APP_DOC_URL=http://docs.crawlab.cn +VUE_APP_API_BASE_URL=http://localhost:8000 diff --git a/frontend/.env.production b/frontend/.env.production index 7cca0821..d4c198ac 100644 --- a/frontend/.env.production +++ b/frontend/.env.production @@ -1,4 +1,2 @@ NODE_ENV='production' -VUE_APP_BASE_URL=/api -VUE_APP_CRAWLAB_BASE_URL=https://api.crawlab.cn -VUE_APP_DOC_URL=http://docs.crawlab.cn +VUE_APP_API_BASE_URL=http://localhost:8000 diff --git a/frontend/.env.test b/frontend/.env.test index f29b1cd3..12bf1f63 100644 --- a/frontend/.env.test +++ b/frontend/.env.test @@ -1,4 +1,2 @@ NODE_ENV='test' -VUE_APP_BASE_URL='http://localhost:8000' -VUE_APP_CRAWLAB_BASE_URL=https://api.crawlab.cn -VUE_APP_DOC_URL=http://docs.crawlab.cn +VUE_APP_API_BASE_URL=http://localhost:8000