Skip to content

Commit

Permalink
Merge pull request #217 from fga-gpp-mds/issue157_linkar_github
Browse files Browse the repository at this point in the history
Adicionando variavel de ambiente para resolver problema com link ao github
  • Loading branch information
ThalissonMelo committed Dec 1, 2017
2 parents 20e9cc9 + 6eef228 commit 6119f47
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 71 deletions.
3 changes: 2 additions & 1 deletion build/webpack.dev.conf.js
Expand Up @@ -20,7 +20,8 @@ module.exports = merge(baseWebpackConfig, {
plugins: [
new webpack.DefinePlugin({
'process.env': config.dev.env,
'API_URL': JSON.stringify('http://localhost:3000/')
'API_URL': JSON.stringify('http://localhost:3000/'),
'GITHUB_CLIENT_ID': JSON.stringify('1254ef5e2765397c4fb4')
}),
// https://github.com/glenjamin/webpack-hot-middleware#installation--usage
new webpack.HotModuleReplacementPlugin(),
Expand Down
4 changes: 2 additions & 2 deletions build/webpack.prod.conf.js
Expand Up @@ -30,8 +30,8 @@ var webpackConfig = merge(baseWebpackConfig, {
// http://vuejs.github.io/vue-loader/en/workflow/production.html
new webpack.DefinePlugin({
'process.env': env,
'API_URL': JSON.stringify('http://45.55.176.99:3000/') //Homolog
// 'API_URL': JSON.stringify('http://104.236.12.198:3000/') //Production
'API_URL': JSON.stringify('http://45.55.176.99:3000/'),
'GITHUB_CLIENT_ID': JSON.stringify('cbd5f91719282354f09b')
}),
new webpack.optimize.UglifyJsPlugin({
compress: {
Expand Down

0 comments on commit 6119f47

Please sign in to comment.