Skip to content

Commit

Permalink
fix: add package-data.json to git
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Mar 10, 2021
1 parent 4b05286 commit e5fef0b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ data/
.~*
/*.json
!package.json
!package-data.json
!package-lock.json
*.code-workspace
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
data/
.idea/
.vscode/
.env
7 changes: 7 additions & 0 deletions package-data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "site-audit-seo-project",
"description": "User modules for site-audit-seo",
"version": "0.0.1",
"private": true,
"dependencies": {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async function getPoint(item, schema) {
const point = {
measurement: schema.measurement,
tags: {
host: os.hostname(),
host: os.hostname(), // TODO: fix that if used by docker
domain: url.parse(item.url).hostname,
url: item.url
},
Expand Down

0 comments on commit e5fef0b

Please sign in to comment.