Skip to content

Commit

Permalink
Merge pull request #35 from setlife-network/oscar
Browse files Browse the repository at this point in the history
Configures domain-ready deployment
  • Loading branch information
otech47 authored Jan 9, 2019
2 parents 3f175bf + 9d8a9f0 commit 5bd787b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ jspm_packages
.idea/
yarn.lock
package-lock.json

# Mac filesystem
**/.DS_Store
1 change: 1 addition & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ var cors = require('cors');
var whitelist = [
'http://localhost:8080',
'http://localhost:3000',
'https://www.setblocks.com',
'https://setblocks.herokuapp.com/'
];
var corsOptions = {
Expand Down
2 changes: 1 addition & 1 deletion web/constants/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Calendar } from 'styled-icons/feather/Calendar.cjs'
import { Users } from 'styled-icons/feather/Users.cjs'

export const SITE_ROOT = process.env.NODE_ENV == 'production' ? 'https://setblocks.herokuapp.com' : 'http://localhost:3000';
export const SITE_ROOT = process.env.NODE_ENV == 'production' ? 'https://www.setblocks.com' : 'http://localhost:3000';
export const API_ROOT = SITE_ROOT + '/api/v/1/'

export const NAVIGATION = {
Expand Down

0 comments on commit 5bd787b

Please sign in to comment.