implemented first keycloak stuff, still needs some config on keycloak and backend side to work
This commit is contained in:
@@ -60,7 +60,16 @@ module.exports = configure(function (/* ctx */) {
|
||||
|
||||
// publicPath: '/',
|
||||
// analyze: true,
|
||||
// env: {},
|
||||
env: {
|
||||
//Defined in realm_export.json
|
||||
KEYCLOAK_REALM:'PraxistransferKeycloak',
|
||||
KEYCLOAK_CLIENT_ID:'praxistransfer',
|
||||
|
||||
//Defined in realm_export.json, initialize_keycloak.sh and quasar.config.js
|
||||
PORT_KEYCLOAK:8083,
|
||||
PORT_FRONTEND:8080,
|
||||
PORT_BACKEND:8181,
|
||||
},
|
||||
// rawDefine: {}
|
||||
// ignorePublicFolder: true,
|
||||
// minify: false,
|
||||
@@ -96,8 +105,14 @@ module.exports = configure(function (/* ctx */) {
|
||||
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#devServer
|
||||
devServer: {
|
||||
// https: true
|
||||
port: 8081, // default: 3000; changed to 8080 to match keycloak settings
|
||||
open: true // opens browser window automatically
|
||||
port: 8080, // default: 3000; changed to 8080 to match keycloak settings
|
||||
open: true, // opens browser window automatically
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:8080',
|
||||
changeOrigin: true
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#framework
|
||||
|
||||
Reference in New Issue
Block a user