Skip to content

Commit

Permalink
docs: fix doc typo in BaseWarcServer example (#507)
Browse files Browse the repository at this point in the history
  • Loading branch information
yvmarques authored and ikreymer committed Nov 1, 2019
1 parent fed3263 commit 8baa8cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/manual/warcserver.rst
Original file line number Diff line number Diff line change
Expand Up @@ -320,12 +320,12 @@ which does not use a YAML config

.. code-block:: python
server = BaseWarcServer()
app = BaseWarcServer()
# /live endpoint
live_agg = SimpleAggregator({'live': LiveIndexSource()})
server.add_route('/live', DefaultResourceHandler(live_agg))
app.add_route('/live', DefaultResourceHandler(live_agg))
# /memento endpoint
Expand Down

0 comments on commit 8baa8cb

Please sign in to comment.