diff options
Diffstat (limited to 'web/taginfo.rb')
-rwxr-xr-x | web/taginfo.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/taginfo.rb b/web/taginfo.rb index dcb3d3e..d25436f 100755 --- a/web/taginfo.rb +++ b/web/taginfo.rb @@ -188,7 +188,7 @@ class Taginfo < Sinatra::Base #------------------------------------- - get %r{^/js/([a-z][a-z])/(.*).js$} do |lang, js| + get %r{^/js/([a-z][a-z](-[a-zA-Z]+)?)/(.*).js$} do |lang, dummy, js| expires next_update @lang = lang @trans = R18n::I18n.new(lang, 'i18n') |