Skip to content

Commit ef89db2

Browse files
fixed missing file
1 parent 48d40f6 commit ef89db2

File tree

4 files changed

+15
-12
lines changed

4 files changed

+15
-12
lines changed

app/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111
},
1212

1313
MONGO_URL: process.env.MONGO_URL || 'mongodb://ds237932.mlab.com:37932/fit-journal',
14-
TEST_MONGO_URL: process.env.TEST_MONGO_URL || 'mongodb://localhost:27017/test-fit-journal',
14+
// TEST_MONGO_URL: process.env.TEST_MONGO_URL || 'mongodb://localhost:27017/test-fit-journal',
1515
JWT_SECRET: process.env.JWT_SECRET || 'default',
1616
JWT_EXPIRY: process.env.JWT_EXPIRY || '7d',
1717
};

app/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ app.use(express.urlencoded({ extended: true }));
4343
app.use('/api/auth', authRouter);
4444
app.use('/api/user', userRouter);
4545
app.use('/api/home', workoutRouter);
46-
app.use('/api/exercises', exerciseRouter);
46+
4747
app.use(express.static('./public', {
4848
extensions: ['html', 'htm']
4949

public/home.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
<title>Dashboard</title>
99
<link id="icon" rel="icon" type="image/png" href="/img/dumbbell_b.png">
1010
<link rel="stylesheet" href="/css/main.css" />
11+
<link id="icon" rel="icon" type="image/png" href="/img/dumbbell_b.png">
12+
1113
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
1214
</head>
1315

@@ -60,21 +62,21 @@ <h4 class="add-ex js-addEx"><a href="/search.html">Add Exercise</a></h4>
6062
<footer>
6163
<div class="foot-col">
6264
<p>Fit-Journal website created by Ernest L. Phillips &copy; 2019 </p>
63-
65+
6466
</div>
6567
</footer>
6668
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
6769
<script src="/moment.js"></script>
6870
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
6971
<script src="/utilities/cache.module.js"></script>
7072
<script src="/auth.page.js"></script>
71-
73+
7274
<script src="/utilities/http.module.js"></script>
7375
<script src="/utilities/index.js"></script>
74-
76+
7577
<script src="/dashboard.page.js"></script>
7678
<script src="https://twitter.github.io/typeahead.js/releases/latest/typeahead.bundle.js"></script>
77-
79+
7880

7981

8082
</body>

public/login.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
88
<title>Fit-Journal | Login</title>
99
<link id="icon" rel="icon" type="image/png" href="/img/dumbbell_b.png">
10+
1011
<link rel="stylesheet" href="/css/main.css" />
1112

1213
</head>
@@ -18,8 +19,8 @@
1819

1920
<section class="container js-container">
2021
<div class="login-page">
21-
<h1 class="log-logo">
22-
<a href="/">Fit-Journal</a>
22+
<h1 class="log-logo">
23+
<a href="/">Fit-Journal</a>
2324
</h1>
2425
<div class="form">
2526
<h1>Sign into your account</h1>
@@ -36,23 +37,23 @@ <h1>Sign into your account</h1>
3637
</div>
3738
</section>
3839
</main>
39-
<footer>
40+
<footer>
4041
<div class="foot-col">
4142
<p>Fit-Journal website created by Ernest L. Phillips &copy; 2019 </p>
42-
43+
4344
</div>
4445
</footer>
4546
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
4647
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
4748
<script src="/moment.js"></script>
4849
<script src="/utilities/cache.module.js"></script>
4950
<script src="/typeahead.js"></script>
50-
51+
5152
<script src="/utilities/http.module.js"></script>
5253
<script src="/utilities/index.js"></script>
5354
<script src="/auth.page.js"></script>
5455
<script src="/search.js"></script>
55-
56+
5657
</body>
5758

5859
</html>

0 commit comments

Comments
 (0)