Skip to content

Commit b341cde

Browse files
authored
Merge pull request #51 from oslabs-beta/server
Server and oauth working
2 parents 400d083 + 8692bbf commit b341cde

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

config.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
const isProduction = process.env.NODE_ENV === 'production';
2-
32
const config = {
43
DEV_PORT: 5656,
54
API_BASE_URL: isProduction
6-
? 'http://reactypev15-env.eba-mbvivk7k.us-east-1.elasticbeanstalk.com'
7-
: 'http://localhost:8080',
5+
? 'https://app.reactype.dev'
6+
: 'http://localhost:5656',
87
API_BASE_URL2: isProduction
9-
? 'http://reactypev15-env.eba-mbvivk7k.us-east-1.elasticbeanstalk.com'
8+
? 'https://app.reactype.dev'
109
: 'http://localhost:8080',
1110
};
12-
1311
module.exports = config;

server/server.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,6 @@ if (process.env.NODE_ENV == 'production') {
201201
}
202202

203203
app.get('/', (req, res) => {
204-
console.log('hit get', isDocker);
205204
const indexPath = isDocker
206205
? path.join(__dirname, '../index-prod.html')
207206
: path.join(__dirname, '../index.html');

0 commit comments

Comments
 (0)