Skip to content
Browse files

Stop server-sending the index.css, as it will be bundled in the js

  • Loading branch information...
cvaroqui committed Jul 1, 2019
1 parent e019db0 commit c6cad80d92769b228eb3f327395ad7620ad0ec46
Showing with 0 additions and 5 deletions.
  1. +0 −5 lib/
@@ -2734,13 +2734,8 @@ def action_whoami(self, nodename, **kwargs):
def index(self, stream_id):
data = self.load_file("index.js")
self.h2_push_promise(stream_id, "/index.js", data, "application/javascript")
data = self.load_file("index.css")
self.h2_push_promise(stream_id, "/index.css", data, "text/css")
return 200, "text/html", self.load_file("index.html")

def index_js(self):
return 200, "application/javascript", self.load_file("index.js")

def index_css(self):
return 200, "text/css", self.load_file("index.css")

0 comments on commit c6cad80

Please sign in to comment.
You can’t perform that action at this time.