13 lines
243 B
Python
13 lines
243 B
Python
|
import bottle
|
||
|
|
||
|
class FeTapWeb():
|
||
|
def __init__(self, api_enabled=False):
|
||
|
pass
|
||
|
|
||
|
@bottle.route("/")
|
||
|
def root():
|
||
|
return "<h1>Hello world!</h1>"
|
||
|
|
||
|
def start(self, host, port):
|
||
|
bottle.run(host=host, port=port)
|