packages/reflex-cache: use GET for pre-flight nar request
This commit is contained in:
parent
ac6eac4889
commit
8edd39d462
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class ReflexHTTPServiceHandler(BaseHTTPRequestHandler):
|
|||
resultHash = self._db.get_path(self.path)
|
||||
|
||||
if resultHash == None:
|
||||
code, cache, _ = self._nix.try_all("head", self.path)
|
||||
code, cache, _ = self._nix.try_all("get", self.path)
|
||||
if code != 200:
|
||||
self.send_response(404)
|
||||
self.end_headers()
|
||||
|
|
Loading…
Reference in a new issue