mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-17 15:52:45 +08:00
web_config: send correct MIME type (and actually send it)
This commit is contained in:
parent
d2f23e1df4
commit
71c55e1a4a
|
@ -751,7 +751,8 @@ class FishConfigHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
|
|||
|
||||
# Return valid output
|
||||
self.send_response(200)
|
||||
self.send_header('Content-type','text/html')
|
||||
self.send_header('Content-type','application/json')
|
||||
self.end_headers()
|
||||
self.write_to_wfile('\n')
|
||||
|
||||
# Output JSON
|
||||
|
|
Loading…
Reference in New Issue
Block a user