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

Commit ab4bb17

Browse files
committed
Add a static webpage
1 parent 7f27c4a commit ab4bb17

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

client/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<head><title>LoopBack</title></head>
2+
<body>
3+
<h1>LoopBack Rocks!</h1>
4+
<p>Hello World... </p>
5+
</body>

server/boot/root.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

server/middleware.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@
4040
]
4141
}
4242
},
43-
"files": {},
43+
"files": {
44+
"loopback#static": {
45+
"params": "$!../client"
46+
}
47+
},
4448
"final": {
4549
"loopback#urlNotFound": {}
4650
},

0 commit comments

Comments
 (0)