diff --git a/workers/purge_cache_worker.rb b/workers/purge_cache_worker.rb index a62dd011..1660834f 100644 --- a/workers/purge_cache_worker.rb +++ b/workers/purge_cache_worker.rb @@ -14,7 +14,7 @@ class PurgeCacheWorker # Must always have a forward slash path = '/' + path if path[0] != '/' - $redis_proxy.publish 'proxy', {cmd: 'purge', key: "#{username}#{path}"}.to_msgpack + $redis_proxy.publish 'proxy', {cmd: 'purge', path: "#{username}#{path}"}.to_msgpack url = Addressable::URI.encode_component( "https://#{proxy_ip}#{path}",