feat: Add and enable HTTPS-ify URL override by default

This commit is contained in:
Artem Chepurnoy 2024-01-28 16:59:53 +02:00
parent 9df9b68d4c
commit a874d88e06
No known key found for this signature in database
GPG Key ID: FAC37D0CF674043E
2 changed files with 17 additions and 0 deletions

View File

@ -9,6 +9,15 @@ CREATE TABLE urlOverride (
enabled INTEGER NOT NULL
);
INSERT INTO urlOverride(name, regex, command, createdAt, enabled)
VALUES (
'HTTPS-ify',
'^http:.*',
'https://{url:rmvscm}',
CAST(unixepoch('subsecond') * 1000 AS INTEGER),
1
);
update {
UPDATE urlOverride
SET

View File

@ -0,0 +1,8 @@
INSERT INTO urlOverride(name, regex, command, createdAt, enabled)
VALUES (
'HTTPS-ify',
'^http:.*',
'https://{url:rmvscm}',
CAST(unixepoch('subsecond') * 1000 AS INTEGER),
1
);