Skip to content

Commit

Permalink
[FEATURE] Added mobile agent checking using regex
Browse files Browse the repository at this point in the history
  • Loading branch information
egordm committed Jan 12, 2021
1 parent 01e8d09 commit eaf28c6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ RENDERTRON_CACHE_RESOURCE_URL=http://rendertron:3000/render
RENDERTRON_CACHE_RESOURCE_METHOD=GET
RENDERTRON_CACHE_HEADER_REQUEST_BLACKLIST=
RENDERTRON_CACHE_HEADER_RESPONSE_BLACKLIST=Set-Cookie,Content-Encoding,Transfer-Encoding
RENDERTRON_MOBILE_REGEX=.*Mobile.*

API_URL=http://dashboard:80/docs/
API_VER=v1
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ DC_CONFIGS_DEV = -f docker-compose.yml -f seosnap-cacheserver/docker-compose.dev
up:
docker-compose ${DC_CONFIGS} -f docker-compose.yml up

down:
docker-compose ${DC_CONFIGS} -f docker-compose.yml down

daemon:
docker-compose ${DC_CONFIGS} -f docker-compose.yml up -d

Expand Down
2 changes: 1 addition & 1 deletion seosnap-cachewarmer

0 comments on commit eaf28c6

Please sign in to comment.