We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91dcadc commit e720cbcCopy full SHA for e720cbc
live/cgi-bin/latex.py
@@ -2,6 +2,8 @@
2
import sys
3
from pandocode.codeprocessor import process_code
4
5
-print("Content-type: text/plain\n\n")
+print("Content-type: text/plain")
6
+print("Access-Control-Allow-Origin: *")
7
+print("")
8
9
print(process_code(sys.stdin.read()))
live/lighttpd.conf
@@ -10,7 +10,7 @@ mimetype.assign = (
10
11
index-file.names = ( "index.html" )
12
13
-server.modules += ( "mod_cgi" )
+server.modules += ( "mod_cgi" "mod_setenv" )
14
15
$HTTP["url"] =~ "^/cgi-bin/" {
16
cgi.assign = ( ".py" => "/bin/python-wrapper" )
0 commit comments