Skip to content

Commit

Permalink
add catch all route to send back to /
Browse files Browse the repository at this point in the history
  • Loading branch information
amituuush committed Feb 1, 2017
1 parent 8492528 commit 15b172b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.select-shop-container {
margin-left: 0em;
margin-top: 4em;
background: black;
// background: black;

.main-wrap {
min-height: 25em;
Expand Down
2 changes: 1 addition & 1 deletion public/customer-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -61314,7 +61314,7 @@


// module
exports.push([module.id, ".select-shop-container {\n margin-left: 0em;\n margin-top: 4em;\n background: black; }\n .select-shop-container .main-wrap {\n min-height: 25em; }\n .select-shop-container .main-wrap .loading-icon {\n margin-top: 0em;\n text-align: center; }\n .select-shop-container .userProgress {\n position: relative;\n width: 100%;\n height: 30px;\n background-color: #fff;\n border-radius: 5px;\n margin: 0 auto;\n border: 1px solid #E4E4E4; }\n .select-shop-container .userProgress #oneOfFive {\n position: absolute;\n width: 20%;\n height: 100%;\n background: #3FB083;\n border-radius: 5px 0px 0px 5px; }\n .select-shop-container .hide {\n display: none; }\n\n@media only screen and (min-width: 600px) {\n .select-shop-container .userProgress {\n width: 25em; } }\n\n@media only screen and (min-width: 960px) {\n .select-shop-container {\n margin-top: 0em;\n margin-left: 5em; } }\n", ""]);
exports.push([module.id, ".select-shop-container {\n margin-left: 0em;\n margin-top: 4em; }\n .select-shop-container .main-wrap {\n min-height: 25em; }\n .select-shop-container .main-wrap .loading-icon {\n margin-top: 0em;\n text-align: center; }\n .select-shop-container .userProgress {\n position: relative;\n width: 100%;\n height: 30px;\n background-color: #fff;\n border-radius: 5px;\n margin: 0 auto;\n border: 1px solid #E4E4E4; }\n .select-shop-container .userProgress #oneOfFive {\n position: absolute;\n width: 20%;\n height: 100%;\n background: #3FB083;\n border-radius: 5px 0px 0px 5px; }\n .select-shop-container .hide {\n display: none; }\n\n@media only screen and (min-width: 600px) {\n .select-shop-container .userProgress {\n width: 25em; } }\n\n@media only screen and (min-width: 960px) {\n .select-shop-container {\n margin-top: 0em;\n margin-left: 5em; } }\n", ""]);

// exports

Expand Down
3 changes: 3 additions & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ app.use('/api', ordersOrdersId);

app.get('/admin', BARequestHandler)
app.get('/', customerRequestHandler);
app.get('/*', (req, res) => {
res.redirect('/');
});

var log = function() {
console.log('app listening on port 4005');
Expand Down

0 comments on commit 15b172b

Please sign in to comment.