Hi, I’m trying to
resp <- liftAff $ AN.get AXRF.document "http://0.0.0.0:8001/"
log $ either printError (\x -> x.statusText) resp
I get
[info] Build succeeded.
There was a problem with the response body: Type mismatch: expected Document, found String
With curl, I get
$ curl http://0.0.0.0:8001
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Shows current MSK time">
<meta name="keywords" content="MSK,time">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Time page</title>
</head>
<body>
<div>
<script src="/index.f708bf3c.js" defer=""></script>
</div>
</body>
</html>