mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
Merge branch 'master' of github.com:neocities/neocities
This commit is contained in:
commit
0f0ce3d047
1 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,7 @@ class PurgeCacheWorker
|
||||||
path = '/' + path if path[0] != '/'
|
path = '/' + path if path[0] != '/'
|
||||||
|
|
||||||
$redis_proxy.publish 'proxy', {cmd: 'purge', path: "#{username}#{path}"}.to_msgpack
|
$redis_proxy.publish 'proxy', {cmd: 'purge', path: "#{username}#{path}"}.to_msgpack
|
||||||
|
=begin
|
||||||
url = Addressable::URI.encode_component(
|
url = Addressable::URI.encode_component(
|
||||||
"https://#{proxy_ip}#{path}",
|
"https://#{proxy_ip}#{path}",
|
||||||
Addressable::URI::CharacterClasses::QUERY
|
Addressable::URI::CharacterClasses::QUERY
|
||||||
|
@ -37,5 +37,6 @@ class PurgeCacheWorker
|
||||||
retry_encoded = true
|
retry_encoded = true
|
||||||
retry
|
retry
|
||||||
end
|
end
|
||||||
|
=end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue