Skip to content
Snippets Groups Projects
Verified Commit 707ceb68 authored by Andrej Ramašeuski's avatar Andrej Ramašeuski
Browse files

Bugfix

parent f3a07c37
No related branches found
No related tags found
No related merge requests found
Pipeline #1988 passed
...@@ -3,7 +3,7 @@ image: docker:19.03.1 ...@@ -3,7 +3,7 @@ image: docker:19.03.1
variables: variables:
DOCKER_TLS_CERTDIR: "/certs" DOCKER_TLS_CERTDIR: "/certs"
IMAGE_TAG: $CI_REGISTRY_IMAGE IMAGE_TAG: $CI_REGISTRY_IMAGE
IMAGE_VER: 1.5.1 IMAGE_VER: 1.5.2
services: services:
- docker:19.03.1-dind - docker:19.03.1-dind
......
...@@ -19,6 +19,7 @@ sub main { ...@@ -19,6 +19,7 @@ sub main {
if ($c->req->headers->header('Sec-WebSocket-Extensions') =~ /permessage-deflate/) { if ($c->req->headers->header('Sec-WebSocket-Extensions') =~ /permessage-deflate/) {
$c->tx->compressed(1); $c->tx->compressed(1);
$c->res->headers->add('Sec-WebSocket-Extensions' => 'permessage-deflate');
} }
my $pubsub = Mojo::Pg::PubSub->new(pg => $c->pg); my $pubsub = Mojo::Pg::PubSub->new(pg => $c->pg);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment