diff options
author | Vitaly Takmazov | 2015-12-01 16:28:10 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2015-12-01 16:29:57 +0300 |
commit | 398d27d64f97195c24b0ae043e3872d51a1b2f39 (patch) | |
tree | 1948d284e2f0bd3ede8663c102f190fedb5b9459 /src/main/java/com/juick/CrosspostComponent.java | |
parent | 109cf4644498a8031f73c07e9422b211234f07a4 (diff) |
twitter.pl -> TwitterAuth
Diffstat (limited to 'src/main/java/com/juick/CrosspostComponent.java')
-rw-r--r-- | src/main/java/com/juick/CrosspostComponent.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/CrosspostComponent.java b/src/main/java/com/juick/CrosspostComponent.java index b05dd1be..73791c5e 100644 --- a/src/main/java/com/juick/CrosspostComponent.java +++ b/src/main/java/com/juick/CrosspostComponent.java @@ -77,7 +77,7 @@ public class CrosspostComponent implements ServletContextListener, Stream.Strea public void run() { try { Properties conf = new Properties(); - conf.load(new FileInputStream("/etc/juick/crosspost.conf")); + conf.load(sce.getServletContext().getResourceAsStream("WEB-INF/juick.conf")); twitter_consumer_key = conf.getProperty("twitter_consumer_key", ""); twitter_consumer_secret = conf.getProperty("twitter_consumer_secret", ""); |