Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1# (c) Stefan Countryman, 2019 

2 

3""" 

4Get the domain on which this server is running from the environment. 

5""" 

6 

7from llama.classes import optional_env_var 

8 

9DEFAULT_LLAMA_DOMAIN = 'localhost' 

10LLAMA_DOMAIN = optional_env_var( 

11 ['LLAMA_DOMAIN'], 

12 """Specify the domain on which LLAMA processes are running.""", 

13 [DEFAULT_LLAMA_DOMAIN], 

14)[0]