From 6a9fe8243b4f70db725888936b3e7141c0aa5b8a Mon Sep 17 00:00:00 2001 From: Andreas Stephanides Date: Tue, 9 May 2017 13:38:32 +0200 Subject: [PATCH] fix apth for ETHERPAD Key --- app/models/document.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/document.rb b/app/models/document.rb index 5123b52..f674ada 100644 --- a/app/models/document.rb +++ b/app/models/document.rb @@ -24,7 +24,7 @@ class Document < ActiveRecord::Base "document_"+self.id.to_s end def self.ether - EtherpadLite.connect('http://www.fet.at/etherpad', File.new('/srv/etherpad/etherpad-lite/APIKEY.txt')) + EtherpadLite.connect('http://www.etherpad.fet.at', File.new('config/etherpad/APIKEY.txt')) end def create_pdf require "open3"