mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-05 18:52:38 +00:00
set up development config variavle
This commit is contained in:
@@ -48,6 +48,7 @@ const Homebrew = (props)=>{
|
|||||||
global.config = config;
|
global.config = config;
|
||||||
|
|
||||||
const backgroundObject = ()=>{
|
const backgroundObject = ()=>{
|
||||||
|
if(!config.development) return null;
|
||||||
if(config.deployment || config.local){
|
if(config.deployment || config.local){
|
||||||
const bgText = config.deployment || 'Local';
|
const bgText = config.deployment || 'Local';
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"development": true,
|
||||||
"host" : "homebrewery.local.naturalcrit.com:8000",
|
"host" : "homebrewery.local.naturalcrit.com:8000",
|
||||||
"naturalcrit_url" : "local.naturalcrit.com:8010",
|
"naturalcrit_url" : "local.naturalcrit.com:8010",
|
||||||
"secret" : "secret",
|
"secret" : "secret",
|
||||||
|
|||||||
Reference in New Issue
Block a user