diff options
Diffstat (limited to 'web/lib/config.rb')
-rw-r--r-- | web/lib/config.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/config.rb b/web/lib/config.rb index 135337d..c901921 100644 --- a/web/lib/config.rb +++ b/web/lib/config.rb @@ -5,7 +5,7 @@ class TaginfoConfig @@config = {} def self.read - open('../../taginfo-config.json') do |file| + open(File.expand_path(File.dirname(__FILE__)) + '/../../../taginfo-config.json') do |file| @@config = JSON.parse(file.gets(nil)) end end |