from .settings import *

# Update SITE infos to use the common port 80 to publish the webapp
SITE_FIXED = {
    'name': "Recalbox Manager",
    'ip': None, # If 'None' find the ip automatically. Use a string to define another ip/hostname
    'port': None, # If 'None' no port is added to hostname, so the server have to be reachable from port 80
}

# Production path to the Recalbox logs file
RECALBOX_LOGFILE_PATH = "/recalbox/share/system/logs"

# Use packaged assets
ASSETS_PACKAGED = True

from .settings import *

# Update SITE infos to use the common port 80 to publish the webapp
SITE_FIXED = {
    'name': "Recalbox Manager",
    'ip': None, # If 'None' find the ip automatically. Use a string to define another ip/hostname
    'port': None, # If 'None' no port is added to hostname, so the server have to be reachable from port 80
}

# Production path to the Recalbox logs file
RECALBOX_LOGFILE_PATH = "/root/recalbox.log"

# Use packaged assets
ASSETS_PACKAGED = True

Revert "Set the right recalbox.log path"
Revert "Set the right recalbox.log path"

  from .settings import *
  
  # Update SITE infos to use the common port 80 to publish the webapp
  SITE_FIXED = {
      'name': "Recalbox Manager",
      'ip': None, # If 'None' find the ip automatically. Use a string to define another ip/hostname
      'port': None, # If 'None' no port is added to hostname, so the server have to be reachable from port 80
  }
  
  # Production path to the Recalbox logs file
- RECALBOX_LOGFILE_PATH = "/recalbox/share/system/logs"
+ RECALBOX_LOGFILE_PATH = "/root/recalbox.log"
  
  # Use packaged assets
  ASSETS_PACKAGED = True
  
Revert "Set the right recalbox.log path"
## Code Before:
from .settings import *

# Update SITE infos to use the common port 80 to publish the webapp
SITE_FIXED = {
    'name': "Recalbox Manager",
    'ip': None, # If 'None' find the ip automatically. Use a string to define another ip/hostname
    'port': None, # If 'None' no port is added to hostname, so the server have to be reachable from port 80
}

# Production path to the Recalbox logs file
RECALBOX_LOGFILE_PATH = "/recalbox/share/system/logs"

# Use packaged assets
ASSETS_PACKAGED = True

## Instruction:
Revert "Set the right recalbox.log path"
## Code After:
from .settings import *

# Update SITE infos to use the common port 80 to publish the webapp
SITE_FIXED = {
    'name': "Recalbox Manager",
    'ip': None, # If 'None' find the ip automatically. Use a string to define another ip/hostname
    'port': None, # If 'None' no port is added to hostname, so the server have to be reachable from port 80
}

# Production path to the Recalbox logs file
RECALBOX_LOGFILE_PATH = "/root/recalbox.log"

# Use packaged assets
ASSETS_PACKAGED = True
