Fix path for plugin server demo
Change-Id: I571315051009b3ee9e333f2075be298c62752e46
diff --git a/dev/demo/plugin-server.html b/dev/demo/plugin-server.html
index 5065d41..491708d 100644
--- a/dev/demo/plugin-server.html
+++ b/dev/demo/plugin-server.html
@@ -10,7 +10,7 @@
<script data-main="/demo/plugin-serverdemo.js" src="/js/lib/require.js" async="async"></script>
</head>
<body>
- <p>Start the demo server with <code>morbo -l 'http://*:3003' t/plugin-server.pl</code> and open <a href="http://localhost:3003/demo/plugin-server.html"><code>this website</code></a>.</p>
+ <p>Start the demo server with <code>morbo -l 'http://*:3003' t/server/plugin.pl</code> and open <a href="http://localhost:3003/demo/plugin-server.html"><code>this website</code></a>.</p>
<main>
<div id="search">
<ol>
diff --git a/t/server/plugin.pl b/t/server/plugin.pl
index 974a33f..97df0e8 100644
--- a/t/server/plugin.pl
+++ b/t/server/plugin.pl
@@ -1,6 +1,6 @@
use Mojolicious::Lite;
-my $base = app->home->child('..');
+my $base = app->home->child('..', '..');
push @{app->static->paths}, $base->child('dev');