Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/iampavangandhi/TradeByte
Browse files Browse the repository at this point in the history
…into fix/iampavangandhi#46
  • Loading branch information
fabcodingzest committed Aug 20, 2020
2 parents 86a53f8 + e87ac41 commit 1f0df7d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ app.use(function (req, res, next) {
});

// Static folder
app.use(express.static(path.join(__dirname, "public")));
app.use(express.static(path.join(__dirname, "/public")));

// Routes
app.use("/", require("./routes/api/index"));
Expand Down
13 changes: 7 additions & 6 deletions views/layouts/app.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,21 @@
integrity="sha256-46r060N2LrChLLb5zowXQ72/iKKNiw/lAmygmHExk/o="
crossorigin="anonymous"
/>
<link
href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css"
rel="stylesheet"
/>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/Chart.min.js"></script>

<link rel="stylesheet" href="css/style.css" />
<link type="text/css" rel="stylesheet" href="./css/style.css" />
<link type="text/css" rel="stylesheet" href="../css/style.css" />
<title>TradeByte</title>
</head>

<body>
<div class="md:flex flex-col bg-gray-300 md:flex-row min-h-screen w-full">
<%- include('../partials/_nav.ejs') %> <%- body %>
</div>
<script type="application/javascript" src="javascript/script.js"></script>
<script type="application/javascript" src="./javascript/script.js"></script>
<script
type="application/javascript"
src="../javascript/script.js"
></script>
</body>
</html>

0 comments on commit 1f0df7d

Please sign in to comment.