🔧 Fixed a typo
This commit is contained in:
@@ -29,7 +29,7 @@ export const comicinfoAPICall = (options) => async (dispatch) => {
|
||||
type: CV_API_CALL_IN_PROGRESS,
|
||||
inProgress: true,
|
||||
});
|
||||
const serviceURI = COMICBOOKINFO_SERVICE_URI + options.callURIAction;
|
||||
const serviceURI = `${COMICBOOKINFO_SERVICE_URI}/${options.callURIAction}`;
|
||||
const response = await http(serviceURI, {
|
||||
method: options.callMethod,
|
||||
params: options.callParams,
|
||||
|
||||
@@ -8,7 +8,7 @@ const Navbar: React.FunctionComponent = (props) => {
|
||||
<div className="navbar-brand">
|
||||
<a className="navbar-item" href="http://bulma.io">
|
||||
<img
|
||||
src="/threetwo.png"
|
||||
src="threetwo.png"
|
||||
alt="ThreeTwo! A comic book curator"
|
||||
width="112"
|
||||
height="28"
|
||||
|
||||
@@ -26,7 +26,8 @@ app.use(bodyParser.urlencoded({ extended: true }));
|
||||
const port: number = Number(process.env.PORT) || 8050; // set our port
|
||||
// set rabbitMQ host
|
||||
|
||||
const rabbitMQConnectionString = process.env.RABBITMQ_URI || "amqp://localhost:5672";
|
||||
const rabbitMQConnectionString =
|
||||
process.env.RABBITMQ_URI || "amqp://localhost:5672";
|
||||
|
||||
// Send index.html on root request
|
||||
app.use(express.static("dist"));
|
||||
|
||||
Reference in New Issue
Block a user