Dockerize the app

This commit is contained in:
Gardner Bickford
2022-06-18 13:18:48 +12:00
parent 17a27a138b
commit a9c051b743
17 changed files with 224 additions and 53 deletions
+3 -3
View File
@@ -1,11 +1,11 @@
import "../styles/ViewArchived.css";
import config from "../config";
import { API_HOST } from "../config";
const ViewArchived = ({ id }) => {
const screenshotPath =
config.API.ADDRESS + ":" + config.API.PORT + "/screenshots/" + id + ".png";
API_HOST + "/screenshots/" + id + ".png";
const pdfPath =
config.API.ADDRESS + ":" + config.API.PORT + "/pdfs/" + id + ".pdf";
API_HOST + "/pdfs/" + id + ".pdf";
return (
<div className="view-archived">