Show More
@@ -69,7 +69,9 b" c.template_context['visual']['default_re" | |||||
69 | var APPENLIGHT = { |
|
69 | var APPENLIGHT = { | |
70 | enabled: ${'true' if getattr(c, 'appenlight_enabled', False) else 'false'}, |
|
70 | enabled: ${'true' if getattr(c, 'appenlight_enabled', False) else 'false'}, | |
71 | key: '${getattr(c, "appenlight_api_public_key", "")}', |
|
71 | key: '${getattr(c, "appenlight_api_public_key", "")}', | |
|
72 | % if getattr(c, 'appenlight_server_url', None): | |||
72 | serverUrl: '${getattr(c, "appenlight_server_url", "")}', |
|
73 | serverUrl: '${getattr(c, "appenlight_server_url", "")}', | |
|
74 | % endif | |||
73 | requestInfo: { |
|
75 | requestInfo: { | |
74 | % if getattr(c, 'rhodecode_user', None): |
|
76 | % if getattr(c, 'rhodecode_user', None): | |
75 | ip: '${c.rhodecode_user.ip_addr}', |
|
77 | ip: '${c.rhodecode_user.ip_addr}', |
General Comments 0
You need to be logged in to leave comments.
Login now