I'm quite new about posit world.
I need to create a Python flask app on posit workbench.
I did it using vscode on the workbench, but when I run I can't reach it:
if name == 'main':
# When running in Posit Workbench, apply ProxyFix middleware
# See: Tell Flask it is Behind a Proxy — Flask Documentation (2.2.x)
if 'RS_SERVER_URL' in os.environ and os.environ['RS_SERVER_URL']:
from werkzeug.middleware.proxy_fix import ProxyFix
app.wsgi_app = ProxyFix(app.wsgi_app, x_prefix=1)
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
- Running on http://127.0.0.1:5000
But I cannot access clicking on the link ...
What I'm doing wrong?