update http headers

pull/46/head
Vladimir Mandic 2021-04-04 09:21:07 -04:00
parent 99c9ea0b75
commit 8942b0752c
3 changed files with 23 additions and 8 deletions

11
.hintrc
View File

@ -1,6 +1,13 @@
{
"extends": [
"web-recommended"
],
"browserslist": [
"last 1 versions",
"not ie < 20"
],
"hints": {
"no-inline-styles": "off",
"compat-api/html": "off"
"meta-charset-utf-8": "off"
}
}
}

View File

@ -1,10 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="text/html">
<title>FaceAPI Static Images Demo</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=yes">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, shrink-to-fit=yes">
<meta name="application-name" content="FaceAPI">
<meta name="keywords" content="FaceAPI">
<meta name="description" content="FaceAPI: AI-powered Face Detection, Description & Recognition for Browser and NodeJS using Tensorflow/JS; Author: Vladimir Mandic <https://github.com/vladmandic>">
<meta name="msapplication-tooltip" content="FaceAPI: AI-powered Face Detection, Description & Recognition for Browser and NodeJS using Tensorflow/JS; Author: Vladimir Mandic <https://github.com/vladmandic>">
<script src="./index.js" type="module"></script>
</head>
<body style="font-family: monospace; background: black; color: white; font-size: 16px; line-height: 22px; margin: 0;">

View File

@ -1,10 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="text/html">
<title>FaceAPI Live WebCam Demo</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=yes">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, shrink-to-fit=yes">
<meta name="application-name" content="FaceAPI">
<meta name="keywords" content="FaceAPI">
<meta name="description" content="FaceAPI: AI-powered Face Detection, Description & Recognition for Browser and NodeJS using Tensorflow/JS; Author: Vladimir Mandic <https://github.com/vladmandic>">
<meta name="msapplication-tooltip" content="FaceAPI: AI-powered Face Detection, Description & Recognition for Browser and NodeJS using Tensorflow/JS; Author: Vladimir Mandic <https://github.com/vladmandic>">
<script src="./webcam.js" type="module"></script>
</head>
<body style="font-family: monospace; background: black; color: white; font-size: 16px; line-height: 22px; margin: 0; overflow: hidden">
@ -13,3 +16,5 @@
<div id="log" style="overflow-y: scroll; height: 16.5rem"></div>
</body>
</html>