feat: Add and enable HTTPS-ify URL override by default
This commit is contained in:
parent
9df9b68d4c
commit
a874d88e06
|
@ -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
|
||||
|
|
|
@ -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
|
||||
);
|
Loading…
Reference in New Issue