Skip to content

Commit

Permalink
undo to RSERVER_
Browse files Browse the repository at this point in the history
  • Loading branch information
goebbert1 committed Jan 1, 2025
1 parent 6383515 commit 4567a6a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jupyter_rsession_proxy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def _support_args(args):

def _get_www_frame_origin(default="same"):
try:
return os.getenv('JUPYTER_RSESSION_PROXY_WWW_FRAME_ORIGIN', default)
return os.getenv('RSERVER_WWW_FRAME_ORIGIN', default)
except Exception:
return default

Expand Down Expand Up @@ -136,7 +136,7 @@ def _get_cmd(port, unix_socket):

def _get_timeout(default=15):
try:
return float(os.getenv('JUPYTER_RSESSION_PROXY_TIMEOUT', default))
return float(os.getenv('RSERVER_TIMEOUT', default))
except Exception:
return default

Expand All @@ -150,9 +150,9 @@ def _get_timeout(default=15):
'icon_path': get_icon_path()
}
}
if os.getenv('JUPYTER_RSESSION_PROXY_USE_SOCKET'):
if os.getenv('RSERVER_USE_SOCKET'):
server_process['unix_socket'] = True

RSERVER_TIMEOUT
return server_process

def setup_rsession():
Expand Down

0 comments on commit 4567a6a

Please sign in to comment.