htman: add cgi wrapper
This commit is contained in:
parent
8a185e878a
commit
22f27a784d
1 changed files with 10 additions and 0 deletions
10
htman.cgi
Executable file
10
htman.cgi
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
sys.path.insert(0, os.path.dirname(__file__))
|
||||||
|
|
||||||
|
from htman import bottle
|
||||||
|
|
||||||
|
bottle.run(server='cgi')
|
Loading…
Reference in a new issue