adding scripts for heroku to properly run express app to serve files

This commit is contained in:
Arjun Patel
2019-06-09 23:13:10 -07:00
parent a63268793a
commit 280f2cb6be
6 changed files with 329 additions and 150 deletions
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

+24 -18
View File
@@ -1,26 +1,32 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500"
/>
<link rel="stylesheet" type="text/css" href="/styles.css" />
<link
rel="icon"
href="https://s3-us-west-1.amazonaws.com/charify-assets/defaultLogo.png"
type="image/png"
/>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" />
<link rel="stylesheet" type="text/css" href="/styles.css" />
<link rel="icon" href="https://s3-us-west-1.amazonaws.com/charify-assets/defaultLogo.png" type="image/png" />
<title>DoEverythingBar</title>
</head>
<script src="https://js.stripe.com/v3/"></script>
<title>UCharify</title>
</head>
<body>
<div id="app"></div>
<!-- Need to change
<body>
<div id="app"></div>
<!-- Need to change
dev: /bundle.js
prod: ./bundle.js XXXX discovered that need the dev /bundle.js for history api fallback in prod. Also, it works in AWS, but not opening up the html file local
-->
<script src="/bundle.js"></script>
</body>
</html>
<script src="/bundle.js"></script>
</body>
</html>