0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-16 19:02:40 +00:00

Fixing the pathing to the build folder

This commit is contained in:
Scott Tolksdorf
2017-01-06 01:46:41 -05:00
parent 7b38bccec1
commit 987363ed41
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ const Homebrew = React.createClass({
global.account = this.props.account; global.account = this.props.account;
global.version = this.props.version; global.version = this.props.version;
console.log(mapObject(['version', 'brew', 'account'], this.props)); //console.log(mapObject(['version', 'brew', 'account'], this.props));
Actions.init(mapObject(['version', 'brew', 'account'], this.props)); Actions.init(mapObject(['version', 'brew', 'account'], this.props));

View File

@@ -1,7 +1,7 @@
const express = require("express"); const express = require("express");
const app = express(); const app = express();
app.use(express.static(__dirname + '/build')); app.use(express.static(__dirname + '/../build'));
app.use(require('body-parser').json({limit: '25mb'})); app.use(require('body-parser').json({limit: '25mb'}));
app.use(require('cookie-parser')()); app.use(require('cookie-parser')());