Changed getTeamInvite fro better readibility

This commit is contained in:
Maximilian Leopold 2019-05-09 18:35:25 +02:00
parent a124b96ae2
commit 4cdadc8f7b

View File

@ -99,7 +99,7 @@ module.exports = function (ctx) {
// extractCSS: false, // extractCSS: false,
//distDir: 'springwebdir/{ctx.modeName}', //distDir: 'springwebdir/{ctx.modeName}',
distDir: '../src/main/resources/public/', distDir: '../src/main/resources/public/',
extendWebpack (cfg) { extendWebpack(cfg) {
cfg.module.rules.push({ cfg.module.rules.push({
enforce: 'pre', enforce: 'pre',
test: /\.(js|vue)$/, test: /\.(js|vue)$/,
@ -110,12 +110,12 @@ module.exports = function (ctx) {
env: ctx.dev env: ctx.dev
? { // Base URL for API-Calls: DEV ? { // Base URL for API-Calls: DEV
API: JSON.stringify('http://localhost:8080'), API: JSON.stringify('http://localhost:8080'),
// API: JSON.stringify('https://seserver.se.hs-heilbronn.de:8443/buga19geocaching'), //API: JSON.stringify('https://seserver.se.hs-heilbronn.de:9443/buga19geocaching'),
USER_API: JSON.stringify('https://seserver.se.hs-heilbronn.de:9443/buga19usermanagement') USER_API: JSON.stringify('https://seserver.se.hs-heilbronn.de:9443/buga19usermanagement')
} }
: { // Base URL for API-Calls: PRODUCTION (build) : { // Base URL for API-Calls: PRODUCTION (build)
API: JSON.stringify('http://localhost:8080'), API: JSON.stringify('http://localhost:8080'),
//API: JSON.stringify('https://seserver.se.hs-heilbronn.de:8443/buga19geocaching'), //API: JSON.stringify('https://seserver.se.hs-heilbronn.de:9443/buga19geocaching'),
USER_API: JSON.stringify('https://seserver.se.hs-heilbronn.de:9443/buga19usermanagement') USER_API: JSON.stringify('https://seserver.se.hs-heilbronn.de:9443/buga19usermanagement')
} }
}, },
@ -181,7 +181,7 @@ module.exports = function (ctx) {
electron: { electron: {
// bundler: 'builder', // or 'packager' // bundler: 'builder', // or 'packager'
extendWebpack (cfg) { extendWebpack(cfg) {
// do something with Electron main process Webpack cfg // do something with Electron main process Webpack cfg
// chainWebpack also available besides this extendWebpack // chainWebpack also available besides this extendWebpack
}, },