aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/views/main/ws_test.py
blob: c28269a8f957ba637357ad7062aca41ee5df6b8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# coding=utf-8
import os

from pysite.base_route import RouteView


class WSTest(RouteView):
    path = "/ws_test"
    name = "ws_test"

    def get(self):
        return self.render(
            "ws_test.html",
            server_name=os.environ.get("SERVER_NAME", "localhost")
        )