From cf9172cbe7b1832847d9d1c8d8a72fe3b652bb6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabr=C3=ADcio=20Pinto=20Ferreira?= Date: Mon, 9 Oct 2023 17:36:25 -0300 Subject: [PATCH] chore: remove unnecessary .env configs --- .env.example | 4 ++-- .env.ghpages | 7 ------- .env.production | 7 ++++--- .env.staging | 4 ++-- vue.config.js | 4 +--- 5 files changed, 9 insertions(+), 17 deletions(-) delete mode 100644 .env.ghpages diff --git a/.env.example b/.env.example index b02e92f..b56420a 100644 --- a/.env.example +++ b/.env.example @@ -1,7 +1,7 @@ VUE_APP_TITLE="Dev - Ionic Vue Boilerplate" VUE_APP_PORT="8080" VUE_APP_API_URL="http://localhost:8000" -VUE_APP_CURRENT_SITE_ADDRESS="http://localhost:${VUE_APP_PORT}" VUE_APP_IMAGES_ADDRESS="http://localhost:8080" VUE_APP_WHATS_TELEPHONE="+559999999999" -VUE_APP_CONTACT_EMAIL="contact@boilerplate.com" \ No newline at end of file +VUE_APP_CONTACT_EMAIL="contact@boilerplate.com" +VUE_APP_PUBLIC_PATH="/" \ No newline at end of file diff --git a/.env.ghpages b/.env.ghpages deleted file mode 100644 index 4280d58..0000000 --- a/.env.ghpages +++ /dev/null @@ -1,7 +0,0 @@ -NODE_ENV=production -VUE_APP_TO_GITHUB_PAGES=true -VUE_APP_TITLE="Ionic Vue Boilerplate" -VUE_APP_API_URL="https://qa.api.boilerplate.com/" -VUE_APP_IMAGES_ADDRESS="https://pferreirafabricio.github.io/ionic-vue-boilerplate" -VUE_APP_WHATS_TELEPHONE="+559999999999" -VUE_APP_CONTACT_EMAIL="contact@boilerplate.com" \ No newline at end of file diff --git a/.env.production b/.env.production index 138383f..1dd469d 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,6 @@ VUE_APP_TITLE="Ionic Vue Boilerplate" -VUE_APP_API_URL="https://api.boilerplate.com/" -VUE_APP_IMAGES_ADDRESS="http://localhost" +VUE_APP_API_URL="https://pferreirafabricio.github.io/ionic-vue-boilerplate" +VUE_APP_IMAGES_ADDRESS="https://pferreirafabricio.github.io/ionic-vue-boilerplate" VUE_APP_WHATS_TELEPHONE="+559999999999" -VUE_APP_CONTACT_EMAIL="contact@boilerplate.com" \ No newline at end of file +VUE_APP_CONTACT_EMAIL="pferreirafabricio@gmail.com" +VUE_APP_PUBLIC_PATH="/ionic-vue-boilerplate/" \ No newline at end of file diff --git a/.env.staging b/.env.staging index 2a473dd..5a6ac25 100644 --- a/.env.staging +++ b/.env.staging @@ -1,6 +1,6 @@ NODE_ENV=production VUE_APP_TITLE="QA - Ionic Vue Boilerplate" -VUE_APP_API_URL="https://qa.api.boilerplate.com/" -VUE_APP_IMAGES_ADDRESS="http://localhost" +VUE_APP_API_URL="https://qa.api.boilerplate.com" +VUE_APP_IMAGES_ADDRESS="https://qa.boilerplate.com" VUE_APP_WHATS_TELEPHONE="+559999999999" VUE_APP_CONTACT_EMAIL="contact@boilerplate.com" \ No newline at end of file diff --git a/vue.config.js b/vue.config.js index 76b4bfe..510d12c 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,9 +1,7 @@ const path = require("path"); module.exports = { - publicPath: process.env.VUE_APP_TO_GITHUB_PAGES - ? "/ionic-vue-boilerplate/" - : "/", + publicPath: process.env.VUE_APP_PUBLIC_PATH || "/", devServer: { port: process.env.VUE_APP_PORT || "8080", },