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:
@@ -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));
|
||||||
|
|
||||||
|
|||||||
@@ -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')());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user