mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
key renamed to path
This commit is contained in:
parent
bdee6500ee
commit
dbc47f0586
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ class PurgeCacheWorker
|
||||||
# Must always have a forward slash
|
# Must always have a forward slash
|
||||||
path = '/' + path if path[0] != '/'
|
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(
|
url = Addressable::URI.encode_component(
|
||||||
"https://#{proxy_ip}#{path}",
|
"https://#{proxy_ip}#{path}",
|
||||||
|
|
Loading…
Add table
Reference in a new issue