0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

set up development config variavle

This commit is contained in:
Víctor Losada Hernández
2025-10-05 19:42:01 +02:00
parent aff9a85769
commit 7393aef806
2 changed files with 2 additions and 0 deletions

View File

@@ -48,6 +48,7 @@ const Homebrew = (props)=>{
global.config = config;
const backgroundObject = ()=>{
if(!config.development) return null;
if(config.deployment || config.local){
const bgText = config.deployment || 'Local';
return {

View File

@@ -1,4 +1,5 @@
{
"development": true,
"host" : "homebrewery.local.naturalcrit.com:8000",
"naturalcrit_url" : "local.naturalcrit.com:8010",
"secret" : "secret",