fix linkshortner link

This commit is contained in:
Simon Larsen 2023-08-25 13:19:38 +01:00
parent 7aa90c1f2f
commit 25669abb40
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE
2 changed files with 5 additions and 4 deletions

View File

@ -90,8 +90,9 @@ const MonitorCriteriaElement: FunctionComponent<ComponentProps> = (
MonitorCriteria.fromJSON({
_type: 'MonitorCriteria',
value: {
monitorCriteriaInstanceArray:
[...newMonitorCriterias],
monitorCriteriaInstanceArray: [
...newMonitorCriterias,
],
},
})
);

View File

@ -347,7 +347,7 @@ server {
client_max_body_size 50M;
}
location /l { # Short URL for Link Shortener
location /l/ { # Short URL for Link Shortener
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@ -357,7 +357,7 @@ server {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_pass http://link-shortener;
proxy_pass http://link-shortener/;
client_max_body_size 50M;
}