Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Commit

Permalink
Add a static webpage
Browse files Browse the repository at this point in the history
  • Loading branch information
Amir-61 committed Nov 11, 2016
1 parent 7f27c4a commit ab4bb17
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
5 changes: 5 additions & 0 deletions client/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<head><title>LoopBack</title></head>
<body>
<h1>LoopBack Rocks!</h1>
<p>Hello World... </p>
</body>
8 changes: 0 additions & 8 deletions server/boot/root.js

This file was deleted.

6 changes: 5 additions & 1 deletion server/middleware.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@
]
}
},
"files": {},
"files": {
"loopback#static": {
"params": "$!../client"
}
},
"final": {
"loopback#urlNotFound": {}
},
Expand Down

0 comments on commit ab4bb17

Please sign in to comment.