Remove internal_get_min_html() that should have been this.min_html_cache.get()
authorNick Downing <nick@ndcode.org>
Sun, 25 Nov 2018 01:42:09 +0000 (12:42 +1100)
committerNick Downing <nick@ndcode.org>
Sun, 25 Nov 2018 01:42:09 +0000 (12:42 +1100)
SiteRoot.js

index 8b4f2e7..740fb06 100644 (file)
@@ -169,7 +169,7 @@ SiteRoot.prototype.serve_min_html = async function(env, pathname) {
  
   let data 
   try {
-    data = await this.internal_get_min_html(pathname)
+    data = await this.min_html_cache.get(pathname)
   }
   catch (err) {
     if (!(err instanceof Error) || err.code !== 'ENOENT')