mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-21 17:50:29 -05:00
Update replay auto-redirect
All battle numbers below 700 million now auto-redirect to Replays. (All expired battles will redirect to Replays, the auto-redirect just means the client doesn't need to ask the server if a battle is expired and wait for an answer before redirecting.)
This commit is contained in:
parent
eacd61cde2
commit
838ed99274
|
|
@ -57,7 +57,7 @@ Header set Access-Control-Allow-Origin * env=SAFE_RESOURCE
|
|||
|
||||
# Redirect old battles to their corresponding replay
|
||||
# RewriteCond %{HTTP_HOST} ^play\.pokemonshowdown\.com$ [NC]
|
||||
# RewriteRule ^battle-([a-z0-9]+-[12][0-9]{8})$ https://replay.pokemonshowdown.com/$1 [R=302,L]
|
||||
# RewriteRule ^battle-([a-z0-9]+-[1-6][0-9]{8})$ https://replay.pokemonshowdown.com/$1 [R=302,L]
|
||||
RewriteCond %{HTTP_HOST} ^play\.pokemonshowdown\.com$ [NC]
|
||||
RewriteRule ^battle-([a-z0-9]+-[0-9]{8})$ https://replay.pokemonshowdown.com/$1 [R=302,L]
|
||||
RewriteCond %{HTTP_HOST} ^play\.pokemonshowdown\.com$ [NC]
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user