Skip to content

Commit 2c0ea25

Browse files
committed
Typo fix.
1 parent 299d54a commit 2c0ea25

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Once you've got a development environment, an Express server, and a database, al
6060

6161
With Koop 3.10.0 and higher, you can add a prefix to all routes for a specific provider at registration time. For example:
6262

63-
`koop.register(provider, { routePrefix: '/api/v1})`
63+
`koop.register(provider, { routePrefix: '/api/v1'})`
6464

6565
Adding the above option will prepend `/api/v1` to all of a provider's custom routes as well as the routes generated by any registered output plugins.
6666

docs/setup/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ <h2>3. Providers</h2>
9797
<p>Once you&#x2019;ve got a development environment, an Express server, and a database, all you need to do is configure your providers! See the complete <a href="../docs/providers/">list of providers</a> for further instructions.</p>
9898
<p><code>koop.register(provider)</code></p>
9999
<p>With Koop 3.10.0 and higher, you can add a prefix to all routes for a specific provider at registration time. For example:</p>
100-
<p><code>koop.register(provider, { routePrefix: &apos;/api/v1})</code></p>
100+
<p><code>koop.register(provider, { routePrefix: &apos;/api/v1&apos;})</code></p>
101101
<p>Adding the above option will prepend <code>/api/v1</code> to all of a provider&#x2019;s custom routes as well as the routes generated by any registered output plugins.</p>
102102
<h2>4. Start the server!</h2>
103103
<p>If you&#x2019;ve got everything set up properly, you should be able to start the server! Add a script to you package.json like the example below that points to your server file and type <code>npm start</code>.</p>

0 commit comments

Comments
 (0)