Closed dy closed 2 years ago
Having a simple setup index.html:
index.html
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>XI labs</title> <link rel="shortcut icon" href="#" /> </head> <body> <main id="xi"></main> </body> </html>
running
sirv . --port 8080 --cors --single
getting
GET http://localhost:8080/ net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK)
What's that about?
Apparently dev mode needed to be turned on sirv -D (it wasn't clear if dev mode pertains to sirv dev or user dev)
sirv -D
Having a simple setup
index.html
:running
getting
What's that about?