From f414d2e0579f65fd785e7b83e8d00b8166f7072d Mon Sep 17 00:00:00 2001 From: Guy Bianco IV Date: Mon, 21 Jun 2021 17:10:55 -0400 Subject: [PATCH] fix host typo --- todo-ssr/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/todo-ssr/index.js b/todo-ssr/index.js index a08fb6f..d387092 100644 --- a/todo-ssr/index.js +++ b/todo-ssr/index.js @@ -2,7 +2,7 @@ const express = require("express"); const axios = require("axios"); const port = Number(process.env.PORT || 8080); -const apiHost = (process.env.API_HOST = "localhost:3000"); +const apiHost = process.env.API_HOST || "localhost:3000"; const app = express();