Skip to content
Snippets Groups Projects
Commit f478e053 authored by Leonardo Alain Surdez's avatar Leonardo Alain Surdez
Browse files

Merge branch 'migration/gest' into 'master'

Migration gest

See merge request !7
parents 229c75f8 3ff1d3c0
No related branches found
No related tags found
1 merge request!7Migration gest
'use strict' 'use strict'
// https://stackoverflow.com/questions/44750008/vuejs-configuration-using-a-global-variable
module.exports = { module.exports = {
'API_LOCATION': process.env.NODE_ENV === 'production' 'API_LOCATION': "/api",
? 'https://canap-gest.epfl.ch/api' 'LOGIN_REDIRECT': "/api/auth/login"
: 'http://localhost:8181/api',
'LOGIN_REDIRECT': process.env.NODE_ENV === 'production'
? 'https://canap-gest.epfl.ch/api/auth/login'
: 'http://localhost:8181/api/auth/login',
} }
module.exports = { module.exports = {
devServer: { devServer: {
host: 'localhost',
port: 8080, port: 8080,
https: false https: false,
//host: 'canap-gest-dev.local', disableHostCheck: true,
//port: 8080, },
//https: true publicPath: "/gest"
} }
} \ No newline at end of file
// module.exports = {
// devServer: {
// host: 'canap-gest-dev.local',
// port: 8080,
// https: true
// }
// }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment