File tree Expand file tree Collapse file tree 6 files changed +10
-7
lines changed Expand file tree Collapse file tree 6 files changed +10
-7
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# One-Task
22
3- > Vue.js app featuring a task manager with chatbot installed to assist with each task. !!Currently under heavy development!!
4- > Deployed in https://onetaskapp.firebaseapp.com
3+ > Vue.js app featuring task manager for intra-project collaborations. !!Currently under heavy development!!
4+
5+ Prototype is deployed in https://onetaskapp.firebaseapp.com
56
67## Build Setup
78
Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ require('./check-versions')()
22
33var config = require ( '../config' )
44if ( ! process . env . NODE_ENV ) {
5- process . env . NODE_ENV = JSON . parse ( config . dev . env . NODE_ENV )
5+ process . env . NODE_ENV = JSON . parse ( config . dev . env . NODE_ENV ) ;
6+ process . env . NODE_URI = JSON . parse ( config . dev . env . NODE_URI )
67}
78
89var opn = require ( 'opn' )
Original file line number Diff line number Diff line change @@ -2,5 +2,6 @@ var merge = require('webpack-merge')
22var prodEnv = require ( './prod.env' )
33
44module . exports = merge ( prodEnv , {
5- NODE_ENV : '"development"'
5+ NODE_ENV : '"development"' ,
6+ NODE_URI : '"http://localhost:3000"'
67} )
Original file line number Diff line number Diff line change 11module . exports = {
2- NODE_ENV : '"production"'
2+ NODE_ENV : '"production"' ,
3+ NODE_URI : '"https://onetasknode.herokuapp.com"'
34}
Original file line number Diff line number Diff line change 11var axios = require ( 'axios' ) ;
22axios . defaults . withCredentials = true ; //used to send cookies tokens in request headers
3- var nodeurl = 'https://onetasknode.herokuapp.com' ; //process.env.NODE_URI || 'http://localhost:3000';
3+ var nodeurl = process . env . NODE_URI ; // || 'https://onetasknode.herokuapp.com'; //'http://localhost:3000';
44
55import api from '../utils/api'
66
You can’t perform that action at this time.
0 commit comments