🔧 Fixed a typo

This commit is contained in:
2021-10-22 21:55:07 -07:00
parent 0df9b48703
commit d520f897de
3 changed files with 4 additions and 3 deletions

View File

@@ -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,

View File

@@ -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"

View File

@@ -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"));