mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-03 17:26:43 +02:00
use static input.json
This commit is contained in:
parent
72ba7c51e1
commit
47a2e8b410
1 changed files with 2 additions and 2 deletions
|
@ -3,6 +3,6 @@ task import_papers: :environment do
|
|||
require 'open-uri'
|
||||
#OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
|
||||
#api_key = Rails.application.config_for(:morph)['key']
|
||||
uri = URI.parse("https://joergreichert.de/srm/input.json")
|
||||
Paper.import_from_json(uri.read)
|
||||
input = File.read("input.json")
|
||||
Paper.import_from_json(input)
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue