Update README to be more up to date
This commit is contained in:
parent
0b63f049b3
commit
2f9478399e
2 changed files with 4 additions and 3 deletions
3
README
3
README
|
@ -1,5 +1,6 @@
|
|||
!!! Don't use this, it's bad and doesn't implement gopher protocol correctly !!!
|
||||
It serves gopher, duh.
|
||||
Modify lines 37 and 38 to configure.
|
||||
Will automatically attempt to execute anything with execute bit (except directories).
|
||||
Requires Python 2, as Python 3's string handling it just weird.
|
||||
Requires Python 2, as the code is bad.
|
||||
Also responds to HTTP queries.
|
||||
|
|
|
@ -35,9 +35,9 @@ import threading
|
|||
import time
|
||||
|
||||
# Config
|
||||
port = 7070
|
||||
port = 7777
|
||||
gopherroot = os.environ['HOME']+'/gopher'
|
||||
blacklistfile = os.environ['HOME']+'/gopher_blacklist'
|
||||
blacklistfile = os.environ['HOME']+'/gopher_blacklist_1'
|
||||
|
||||
# Set up socket
|
||||
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
|
|
Loading…
Add table
Reference in a new issue