Skip to content

Commit d4b04fa

Browse files
authored
fix: add ssl.rejectUnauthorized (#3)
1 parent 47fc80c commit d4b04fa

3 files changed

Lines changed: 17 additions & 16 deletions

File tree

.talismanrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ fileignoreconfig:
88
- filename: README.md
99
checksum: b853da2bffed7fcf2d74fb2aa6daf7ac4a681327764feb72a2e94e1686809b99
1010
- filename: pg-init.sql
11-
checksum: df8d35ff7668d232137e1c8076d6dfbbe8f5eec16f2d6611ee16e55e71e7509f
11+
checksum: d75753cc0ff0404eea6521d8fc79f833b8442f917f850b675d1945708d86f8f3
1212
- filename: source.ts
1313
checksum: facc3a72bddfa3bb6aefbab673c658154c68b4eb5eb2081f79555db08c4c9e62
1414
- filename: target.d.ts

pg-init.sql

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -176,91 +176,91 @@ CREATE TABLE matomo.actions_types (
176176
);
177177
ALTER TABLE matomo.actions_types
178178
ADD CONSTRAINT actions_types_pkey PRIMARY KEY (id)
179-
insert into "actions_types" ("description", "id", "name")
179+
insert into matomo."actions_types" ("description", "id", "name")
180180
values (
181181
' the action is a content interaction',
182182
16,
183183
'TYPE_CONTENT_INTERACTION'
184184
);
185-
insert into "actions_types" ("description", "id", "name")
185+
insert into matomo."actions_types" ("description", "id", "name")
186186
values (
187187
' the action is a content target',
188188
15,
189189
'TYPE_CONTENT_TARGET'
190190
);
191-
insert into "actions_types" ("description", "id", "name")
191+
insert into matomo."actions_types" ("description", "id", "name")
192192
values (
193193
' the action is a content piece',
194194
14,
195195
'TYPE_CONTENT_PIECE'
196196
);
197-
insert into "actions_types" ("description", "id", "name")
197+
insert into matomo."actions_types" ("description", "id", "name")
198198
values (
199199
' the action is a content name (see Content Tracking user guide and developer guide)',
200200
13,
201201
'TYPE_CONTENT_NAME'
202202
);
203-
insert into "actions_types" ("description", "id", "name")
203+
insert into matomo."actions_types" ("description", "id", "name")
204204
values (
205205
' the action is an event name',
206206
12,
207207
'TYPE_EVENT_NAME'
208208
);
209-
insert into "actions_types" ("description", "id", "name")
209+
insert into matomo."actions_types" ("description", "id", "name")
210210
values (
211211
' the action is an event action',
212212
11,
213213
'TYPE_EVENT_ACTION'
214214
);
215-
insert into "actions_types" ("description", "id", "name")
215+
insert into matomo."actions_types" ("description", "id", "name")
216216
values (
217217
' the action is an event category (see Tracking Events user guide)',
218218
10,
219219
'TYPE_EVENT_CATEGORY'
220220
);
221-
insert into "actions_types" ("description", "id", "name")
221+
insert into matomo."actions_types" ("description", "id", "name")
222222
values (
223223
'the action type is a site search action.',
224224
8,
225225
'TYPE_SITE_SEARCH'
226226
);
227-
insert into "actions_types" ("description", "id", "name")
227+
insert into matomo."actions_types" ("description", "id", "name")
228228
values (
229229
'the action is the name of an ecommerce item category that is used on the site.',
230230
7,
231231
'TYPE_ECOMMERCE_ITEM_CATEGORY'
232232
);
233-
insert into "actions_types" ("description", "id", "name")
233+
insert into matomo."actions_types" ("description", "id", "name")
234234
values (
235235
'the action is the name of an ecommerce item that is sold on the site.',
236236
6,
237237
'TYPE_ECOMMERCE_ITEM_NAME'
238238
);
239-
insert into "actions_types" ("description", "id", "name")
239+
insert into matomo."actions_types" ("description", "id", "name")
240240
values (
241241
'the action is the SKU of an ecommerce item that is sold on the site.',
242242
5,
243243
'TYPE_ECOMMERCE_ITEM_SKU'
244244
);
245-
insert into "actions_types" ("description", "id", "name")
245+
insert into matomo."actions_types" ("description", "id", "name")
246246
values (
247247
'the action is the page title of a page on the website being tracked.',
248248
4,
249249
'TYPE_PAGE_TITLE'
250250
);
251-
insert into "actions_types" ("description", "id", "name")
251+
insert into matomo."actions_types" ("description", "id", "name")
252252
values (
253253
'the action is a URL of a file that was downloaded from the website being tracked.',
254254
3,
255255
'TYPE_DOWNLOAD'
256256
);
257-
insert into "actions_types" ("description", "id", "name")
257+
insert into matomo."actions_types" ("description", "id", "name")
258258
values (
259259
'the action is a URL is of a link on the website being tracked. A visitor clicked it.',
260260
2,
261261
'TYPE_OUTLINK'
262262
);
263-
insert into "actions_types" ("description", "id", "name")
263+
insert into matomo."actions_types" ("description", "id", "name")
264264
values (
265265
'the action is a URL to a page on the website being tracked.',
266266
1,

src/index.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const targetDB = new Kysely({
2727
dialect: new PostgresDialect({
2828
pool: new pg.Pool({
2929
connectionString: TARGET_DATABASE_URL,
30+
ssl: { rejectUnauthorized: false },
3031
}),
3132
}),
3233
});

0 commit comments

Comments
 (0)