Comparing version 0.1.1 to 0.1.2
@@ -15,3 +15,10 @@ #!/usr/bin/env node | ||
res.writeHead(200, {'Content-Type': 'text/html'}); | ||
res.write(`<html><body><a href="${link}">LINK</a></body></html>`); | ||
res.write(` | ||
<html> | ||
<head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<style>body{margin:20px;} a{font-size:32px;}</style> | ||
</head> | ||
<body><a href="${link}">${link}</a></body> | ||
</html>`); | ||
res.end(); | ||
@@ -18,0 +25,0 @@ }).listen(port, function (err) { |
{ | ||
"name": "servelink", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Serve a simple webpage containing just an <a> tag with a given link", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1096
27