Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ def display_iframe():
|
|
| 51 |
# Read the URL from the environment variable 'IFRAME_URL'
|
| 52 |
# os.getenv returns None if the variable isn't set
|
| 53 |
url_from_env = os.getenv('IFRAME_URL')
|
| 54 |
-
|
| 55 |
# Pass the URL to the template rendering function
|
| 56 |
# Flask's render_template_string automatically handles basic HTML escaping
|
| 57 |
# for security if used directly in text, but here it's okay for the src attribute.
|
|
|
|
| 51 |
# Read the URL from the environment variable 'IFRAME_URL'
|
| 52 |
# os.getenv returns None if the variable isn't set
|
| 53 |
url_from_env = os.getenv('IFRAME_URL')
|
| 54 |
+
print(url_from_env)
|
| 55 |
# Pass the URL to the template rendering function
|
| 56 |
# Flask's render_template_string automatically handles basic HTML escaping
|
| 57 |
# for security if used directly in text, but here it's okay for the src attribute.
|