Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing deprecated herokuapp address to correct service.prerender.io #19

Merged
merged 1 commit into from
Jul 10, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ $ php composer.phar require zfr/zfr-prerender:3.*
2. Check to make sure we aren't requesting a resource (js, css, etc...)
3. (optional) Check to make sure the url is in the whitelist
4. (optional) Check to make sure the url isn't in the blacklist
2. Make a `GET` request to the [prerender service](https://github.com/collectiveip/prerender) (PhantomJS server) for
2. Make a `GET` request to the [prerender service](https://github.com/prerender/prerender) (PhantomJS server) for
the page's prerendered HTML
3. Return that HTML to the crawler

Expand All @@ -39,8 +39,8 @@ ZfrPrerender comes with sane default, but you can customize the module by copyin

#### Prerender URL

By default, ZfrPrerender uses the Prerender.io service deployed at `http://prerender.herokuapp.com`. However, you
may want to [deploy it on your own server](https://github.com/collectiveip/prerender#deploying-your-own). To that
By default, ZfrPrerender uses the Prerender.io service deployed at `http://service.prerender.io`. However, you
may want to [deploy it on your own server](https://github.com/prerender/prerender#deploying-your-own). To that
extent, you can customize ZfrPrerender to use your server using the following configuration:

```php
Expand Down
2 changes: 1 addition & 1 deletion config/module.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

'zfr_prerender' => [
// Prerender service URL
'prerender_url' => 'http://prerender.herokuapp.com',
'prerender_url' => 'http://service.prerender.io',

// Some widely used crawler user agents (Google Bot, Yahoo and BingBot are not in this list because
// we support _escaped_fragment_ and want to ensure people aren't penalized for cloaking).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function testCanCreateOptions()
];

$this->assertInstanceOf('ZfrPrerender\Options\ModuleOptions', $options);
$this->assertEquals('http://prerender.herokuapp.com', $options->getPrerenderUrl());
$this->assertEquals('http://service.prerender.io', $options->getPrerenderUrl());
$this->assertEquals($expectedCrawlerUserAgents, $options->getCrawlerUserAgents());
$this->assertEmpty($options->getWhitelistUrls());
$this->assertEmpty($options->getBlacklistUrls());
Expand Down