0
0
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:
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; 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 {

View File

@@ -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",