popojargo closed pull request #1116: Fix offline documentation links
URL: https://github.com/apache/couchdb-fauxton/pull/1116
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/app/addons/documentation/components.js
b/app/addons/documentation/components.js
index b2fe310be..f6cbdd8fd 100644
--- a/app/addons/documentation/components.js
+++ b/app/addons/documentation/components.js
@@ -11,7 +11,6 @@
// the License.
import React from "react";
-import Helpers from '../../helpers';
const docLinks = [
{
@@ -21,7 +20,7 @@ const docLinks = [
},
{
title: 'CouchDB Official Documentation — Offline',
- link: Helpers.getServerUrl('/docs/index.html'),
+ link: './docs/index.html',
iconClassName: 'couchdb-icon'
},
{
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services