Skip to content

Commit

Permalink
some caching
Browse files Browse the repository at this point in the history
  • Loading branch information
leedo committed Sep 29, 2017
1 parent d3ebc56 commit 3c12bf2
Show file tree
Hide file tree
Showing 6 changed files with 184 additions and 252 deletions.
3 changes: 2 additions & 1 deletion bin/noembed.psgi
Expand Up @@ -5,6 +5,7 @@ use Plack::Util;
use Noembed::Request;
use Noembed::App;
use Noembed::Config;
use Noembed::JSONP;

my $config = Noembed::Config->new("config.json");
my $noembed = Noembed::App->new($config);
Expand All @@ -29,7 +30,7 @@ builder {
};

mount "/embed" => builder {
enable JSONP;
enable "+Noembed::JSONP";
sub {
my $env = shift;
my $req = Noembed::Request->new($env);
Expand Down
3 changes: 1 addition & 2 deletions cpanfile
Expand Up @@ -11,7 +11,7 @@ requires "IPC::Run3";
requires "Web::Scraper";
requires "XML::Simple";
requires "URI::Amazon::APA";
requires "Net::OAuth::ProtectedResourceRequest";
requires "Net::OAuth";
requires "Digest::SHA1";
requires "Plack::Middleware::ReverseProxy";
requires "LWP::Protocol::https";
Expand All @@ -23,6 +23,5 @@ on 'test' => sub {
requires "Test::Fatal";
requires "Test::More";
requires "URI::Escape";
requires "HTTP::Message::PSGI";
requires "File::Path";
};

0 comments on commit 3c12bf2

Please sign in to comment.