зеркало из https://github.com/mozilla/pjs.git
Fix a ReferenceError due to forgotten detritus of an old patch, remove a long-obsolete file. r=sparky, a=lumpy
This commit is contained in:
Родитель
6c41c5bd29
Коммит
414905d801
|
@ -197,7 +197,6 @@ function serverShutdown(metadata, response)
|
|||
|
||||
// Note: this doesn't disrupt the current request.
|
||||
server.stop();
|
||||
otherDomainServer.stop();
|
||||
}
|
||||
|
||||
function redirect(metadata, response)
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
import SimpleHTTPServer
|
||||
import SocketServer
|
||||
|
||||
# minimal web server. serves files relative to the
|
||||
# current directory.
|
||||
|
||||
PORT = 8888
|
||||
|
||||
Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
|
||||
Handler.extensions_map[".xhtml"] = "application/xhtml+xml"
|
||||
Handler.extensions_map[".svg"] = "image/svg+xml"
|
||||
Handler.extensions_map[".xul"] = "application/vnd.mozilla.xul+xml"
|
||||
httpd = SocketServer.TCPServer(("", PORT), Handler)
|
||||
|
||||
print "serving at port", PORT
|
||||
httpd.serve_forever()
|
Загрузка…
Ссылка в новой задаче