Skip to content

Commit

Permalink
chore: remove unnecessary .env configs
Browse files Browse the repository at this point in the history
  • Loading branch information
pferreirafabricio committed Oct 9, 2023
1 parent a852674 commit cf9172c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
@@ -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="[email protected]"
VUE_APP_CONTACT_EMAIL="[email protected]"
VUE_APP_PUBLIC_PATH="/"
7 changes: 0 additions & 7 deletions .env.ghpages

This file was deleted.

7 changes: 4 additions & 3 deletions .env.production
Original file line number Diff line number Diff line change
@@ -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="[email protected]"
VUE_APP_CONTACT_EMAIL="[email protected]"
VUE_APP_PUBLIC_PATH="/ionic-vue-boilerplate/"
4 changes: 2 additions & 2 deletions .env.staging
Original file line number Diff line number Diff line change
@@ -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="[email protected]"
4 changes: 1 addition & 3 deletions vue.config.js
Original file line number Diff line number Diff line change
@@ -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",
},
Expand Down

0 comments on commit cf9172c

Please sign in to comment.