Title: better mime type support · Issue #7 · incrementalcode/lightnode · GitHub
Open Graph Title: better mime type support · Issue #7 · incrementalcode/lightnode
X Title: better mime type support · Issue #7 · incrementalcode/lightnode
Description: I've added the following in my code to pull in (more) mime types from the node-mime module (https://github.com/bentomas/node-mime): var mime = require("mime"); var lightnode = require('lightnode'); var server = new lightnode.FileServer(_...
Open Graph Description: I've added the following in my code to pull in (more) mime types from the node-mime module (https://github.com/bentomas/node-mime): var mime = require("mime"); var lightnode = require('lightnode');...
X Description: I've added the following in my code to pull in (more) mime types from the node-mime module (https://github.com/bentomas/node-mime): var mime = require("mime"); var lightnode = require...
Opengraph URL: https://github.com/incrementalcode/lightnode/issues/7
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"better mime type support","articleBody":"I've added the following in my code to pull in (more) mime types from the node-mime module (https://github.com/bentomas/node-mime):\n\n```\nvar mime = require(\"mime\");\nvar lightnode = require('lightnode');\n\nvar server = new lightnode.FileServer(__dirname + '/static');\n\nserver.mimeTypes = mime.types;\n```\n\nSeems undocumented, maybe utilizing node-mime in the core lightnode code would be a good idea...\n","author":{"url":"https://github.com/tixelated","@type":"Person","name":"tixelated"},"datePublished":"2011-07-14T13:37:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/7/lightnode/issues/7"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:975657e4-9f31-7619-fdc1-902abaaa68ee |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D2EA:C8AE2:9960137:D75B2C3:6A50B9AF |
| html-safe-nonce | c4a693d0c831bb4ef766a9d807a2a3633834de0387463545de1423a952c29daf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMkVBOkM4QUUyOjk5NjAxMzc6RDc1QjJDMzo2QTUwQjlBRiIsInZpc2l0b3JfaWQiOiI0NTU2NTc3OTczNDQwOTE5OTgzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9bef24d04d3a45bb4f1408eb9b299e7a968d3a297be611d0e51ea09d9c8e25c6 |
| hovercard-subject-tag | issue:1223236 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/incrementalcode/lightnode/7/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ac704f5379af5d1c789f6cbd912185e508551d8d28527993805db3d29fa780d0/incrementalcode/lightnode/issues/7 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ac704f5379af5d1c789f6cbd912185e508551d8d28527993805db3d29fa780d0/incrementalcode/lightnode/issues/7 |
| og:image:alt | I've added the following in my code to pull in (more) mime types from the node-mime module (https://github.com/bentomas/node-mime): var mime = require("mime"); var lightnode = require('lightnode');... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tixelated |
| hostname | github.com |
| expected-hostname | github.com |
| None | 63772747707af4093f0d5fc7aa1bb3bb55f412a9865207c4f421aa34c64cc404 |
| turbo-cache-control | no-preview |
| go-import | github.com/incrementalcode/lightnode git https://github.com/incrementalcode/lightnode.git |
| octolytics-dimension-user_id | 557552 |
| octolytics-dimension-user_login | incrementalcode |
| octolytics-dimension-repository_id | 1350871 |
| octolytics-dimension-repository_nwo | incrementalcode/lightnode |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1350871 |
| octolytics-dimension-repository_network_root_nwo | incrementalcode/lightnode |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ded53fe94e3ff1bb4dbf8cc77e285396c92580fb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width