Skip to content

Commit

Permalink
fix: add ssl.rejectUnauthorized (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
revolunet authored Nov 8, 2024
1 parent 47fc80c commit d4b04fa
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .talismanrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fileignoreconfig:
- filename: README.md
checksum: b853da2bffed7fcf2d74fb2aa6daf7ac4a681327764feb72a2e94e1686809b99
- filename: pg-init.sql
checksum: df8d35ff7668d232137e1c8076d6dfbbe8f5eec16f2d6611ee16e55e71e7509f
checksum: d75753cc0ff0404eea6521d8fc79f833b8442f917f850b675d1945708d86f8f3
- filename: source.ts
checksum: facc3a72bddfa3bb6aefbab673c658154c68b4eb5eb2081f79555db08c4c9e62
- filename: target.d.ts
Expand Down
30 changes: 15 additions & 15 deletions pg-init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -176,91 +176,91 @@ CREATE TABLE matomo.actions_types (
);
ALTER TABLE matomo.actions_types
ADD CONSTRAINT actions_types_pkey PRIMARY KEY (id)
insert into "actions_types" ("description", "id", "name")
insert into matomo."actions_types" ("description", "id", "name")
values (
' the action is a content interaction',
16,
'TYPE_CONTENT_INTERACTION'
);
insert into "actions_types" ("description", "id", "name")
insert into matomo."actions_types" ("description", "id", "name")
values (
' the action is a content target',
15,
'TYPE_CONTENT_TARGET'
);
insert into "actions_types" ("description", "id", "name")
insert into matomo."actions_types" ("description", "id", "name")
values (
' the action is a content piece',
14,
'TYPE_CONTENT_PIECE'
);
insert into "actions_types" ("description", "id", "name")
insert into matomo."actions_types" ("description", "id", "name")
values (
' the action is a content name (see Content Tracking user guide and developer guide)',
13,
'TYPE_CONTENT_NAME'
);
insert into "actions_types" ("description", "id", "name")
insert into matomo."actions_types" ("description", "id", "name")
values (
' the action is an event name',
12,
'TYPE_EVENT_NAME'
);
insert into "actions_types" ("description", "id", "name")
insert into matomo."actions_types" ("description", "id", "name")
values (
' the action is an event action',
11,
'TYPE_EVENT_ACTION'
);
insert into "actions_types" ("description", "id", "name")
insert into matomo."actions_types" ("description", "id", "name")
values (
' the action is an event category (see Tracking Events user guide)',
10,
'TYPE_EVENT_CATEGORY'
);
insert into "actions_types" ("description", "id", "name")
insert into matomo."actions_types" ("description", "id", "name")
values (
'the action type is a site search action.',
8,
'TYPE_SITE_SEARCH'
);
insert into "actions_types" ("description", "id", "name")
insert into matomo."actions_types" ("description", "id", "name")
values (
'the action is the name of an ecommerce item category that is used on the site.',
7,
'TYPE_ECOMMERCE_ITEM_CATEGORY'
);
insert into "actions_types" ("description", "id", "name")
insert into matomo."actions_types" ("description", "id", "name")
values (
'the action is the name of an ecommerce item that is sold on the site.',
6,
'TYPE_ECOMMERCE_ITEM_NAME'
);
insert into "actions_types" ("description", "id", "name")
insert into matomo."actions_types" ("description", "id", "name")
values (
'the action is the SKU of an ecommerce item that is sold on the site.',
5,
'TYPE_ECOMMERCE_ITEM_SKU'
);
insert into "actions_types" ("description", "id", "name")
insert into matomo."actions_types" ("description", "id", "name")
values (
'the action is the page title of a page on the website being tracked.',
4,
'TYPE_PAGE_TITLE'
);
insert into "actions_types" ("description", "id", "name")
insert into matomo."actions_types" ("description", "id", "name")
values (
'the action is a URL of a file that was downloaded from the website being tracked.',
3,
'TYPE_DOWNLOAD'
);
insert into "actions_types" ("description", "id", "name")
insert into matomo."actions_types" ("description", "id", "name")
values (
'the action is a URL is of a link on the website being tracked. A visitor clicked it.',
2,
'TYPE_OUTLINK'
);
insert into "actions_types" ("description", "id", "name")
insert into matomo."actions_types" ("description", "id", "name")
values (
'the action is a URL to a page on the website being tracked.',
1,
Expand Down
1 change: 1 addition & 0 deletions src/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const targetDB = new Kysely({
dialect: new PostgresDialect({
pool: new pg.Pool({
connectionString: TARGET_DATABASE_URL,
ssl: { rejectUnauthorized: false },
}),
}),
});
Expand Down

0 comments on commit d4b04fa

Please sign in to comment.