Commit ebe7b0e0 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed wrong path prefix.

parent c1ad2f24
Pipeline #37438 passed with stages
in 5 minutes and 58 seconds
...@@ -21,8 +21,8 @@ sys.path.insert(0, os.path.abspath('..')) ...@@ -21,8 +21,8 @@ sys.path.insert(0, os.path.abspath('..'))
# -- Project information ----------------------------------------------------- # -- Project information -----------------------------------------------------
project = 'nomad-FAIR' project = 'nomad-FAIR'
copyright = '2018, the NOMAD developers' copyright = '2018, FAIRDI e.V.'
author = 'the NOMAD developers' author = 'FAIRDI e.V.'
# The short X.Y version # The short X.Y version
version = '' version = ''
......
import React, { Component } from 'react' import React, { Component } from 'react'
import PropTypes from 'prop-types' import PropTypes from 'prop-types'
import { withStyles } from '@material-ui/core'; import { withStyles } from '@material-ui/core';
import { apiBase } from '../config';
class Documentation extends Component { class Documentation extends Component {
...@@ -26,7 +27,7 @@ class Documentation extends Component { ...@@ -26,7 +27,7 @@ class Documentation extends Component {
<div className={classes.content}> <div className={classes.content}>
<iframe <iframe
frameBorder={0} width="768" height={window.innerHeight - 64} frameBorder={0} width="768" height={window.innerHeight - 64}
src="http://localhost:8000/nomad/api/docs/index.html" src={`${apiBase}/docs/index.html`}
/> />
</div> </div>
</div> </div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment