Update webapp.py

Align with web server version