Skip to content

Commit c439550

Browse files
committed
Add log and go straight to www.
1 parent f8268e6 commit c439550

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

server.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ var port = isProduction ? process.env.PORT : 4000;
99
app.use(express.static(__dirname + '/build'));
1010

1111
app.get('*', function (req, res, next) {
12+
console.log('req: ')
13+
console.log(req)
14+
1215
// Prevents an HTML response for API calls
1316
if (req.path.indexOf('/api/') != -1) {
1417
return next();

src/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import './App.css';
66
class App extends React.Component {
77

88
componentDidMount() {
9-
window.location.replace("http://setlife.network");
9+
window.location.replace("https://www.setlife.network");
1010
}
1111

1212
render() {

0 commit comments

Comments
 (0)